上一页 1 2 3 4 5 6 7 8 9 10 ··· 13 下一页
摘要: <template > <div> <span>{{ value }}</span> <i v-if="value != '' " @click="copyValue()" style="margin-left: 10px; color: blue; cursor:pointer" class="e 阅读全文
posted @ 2022-01-11 10:36 薛定谔_猫 阅读(948) 评论(0) 推荐(0)
摘要: 完成效果: 先安装 npm install --save vue-monoplasty-slide-verify main 挂载 // 滑块验证 import SlideVerify from 'vue-monoplasty-slide-verify';Vue.use(SlideVerify); 应 阅读全文
posted @ 2022-01-04 14:02 薛定谔_猫 阅读(974) 评论(0) 推荐(0)
摘要: var payTimeEnd = new Date( 传:年月日 ).getTime() //获取到的是 毫秒级别的 var newData = Date.parse(new Date()); // 获取当前时间,也是 毫秒级别的 // 或者做一个骚操作,通过正则去除 - 和 : 来比较 funct 阅读全文
posted @ 2021-12-30 10:59 薛定谔_猫 阅读(4446) 评论(0) 推荐(0)
摘要: <el-upload class="upload-demo" action=" 这里你是要导入的接口地址( 不是所有文件上传的地址,是单独导入的地址 ) " :on-success="handleAvatarSuccess" :before-upload="beforeAvatarUpload" : 阅读全文
posted @ 2021-12-29 16:24 薛定谔_猫 阅读(286) 评论(0) 推荐(0)
摘要: // 这里直接打开弹窗就行,不需要做其他操作 <el-button size="small" type="primary" @click=" chooseStatus = true " >选择课程</el-button> //在弹窗内直接组件化页面 <el-dialog title="课程选择" : 阅读全文
posted @ 2021-12-27 16:23 薛定谔_猫 阅读(236) 评论(0) 推荐(0)
摘要: getRowKeys(row){ //唯一值,一般都是id return row.id; }, handleSelectionChange(val){ //只要复选框勾选了,就会打印 console.info( val ) }, 首先是 el-table 要绑定的东西 <el-table :row- 阅读全文
posted @ 2021-12-25 10:05 薛定谔_猫 阅读(6909) 评论(0) 推荐(0)
摘要: //单独写一个js文件 export default function MapLoader() { return new Promise((resolve, reject) => { if (window.AMap) { resolve(window.AMap); } else { window._ 阅读全文
posted @ 2021-12-15 09:20 薛定谔_猫 阅读(3843) 评论(0) 推荐(0)
摘要: var str = 这里绑定富文本框的内容 ; str = this.delHtmlTag(str); var test = str test = test.replace(/ /ig, ""); if( test.trim() == null || test.trim() == '' || tes 阅读全文
posted @ 2021-12-14 19:29 薛定谔_猫 阅读(377) 评论(0) 推荐(0)
摘要: //初始化echarts echartsInit() { //柱形图 //因为初始化echarts 的时候,需要指定的容器 id='main' this.$echarts.init(document.getElementById('bottom')).setOption({ tooltip: { t 阅读全文
posted @ 2021-12-14 18:00 薛定谔_猫 阅读(4906) 评论(0) 推荐(0)
摘要: 1.安装vue-jsonp npm install vue-jsonp 2.在项目的main.js中引用,使用vue-jsonp import VueJsonp from 'vue-jsonp' Vue.use(VueJsonp) 2.可以在单个文件引入使用jsonp import VueJsonp 阅读全文
posted @ 2021-12-10 16:29 薛定谔_猫 阅读(254) 评论(0) 推荐(0)
上一页 1 2 3 4 5 6 7 8 9 10 ··· 13 下一页