摘要: <style scoped> /deep/ .el-transfer-panel{ width: 250px !important; } </style> 阅读全文
posted @ 2020-04-13 14:39 turbozhang 阅读(3386) 评论(0) 推荐(0) 编辑
摘要: //下载模板 download() { //原生js下载模板 var $form = $('<form method="GET"></form>'); $form.attr("action", "/static/excels/merchant.xls"); $form.appendTo($("bod 阅读全文
posted @ 2020-04-10 20:22 turbozhang 阅读(2624) 评论(0) 推荐(1) 编辑
摘要: 1,引入 import XLSX from "xlsx"; 2,使用el-upload <el-upload ref="input" action="/" :show-file-list="false" :auto-upload="false" :on-change="importExcel" ty 阅读全文
posted @ 2020-04-10 20:21 turbozhang 阅读(10538) 评论(0) 推荐(0) 编辑
摘要: <el-form-item label="权益类型:" prop="legalRuleType" > <el-select v-model="dataForm.legalRuleType" @change="selectModel($event)" style="width:200px" place 阅读全文
posted @ 2020-04-10 20:10 turbozhang 阅读(7900) 评论(0) 推荐(0) 编辑
摘要: 找到打包过后的node-modules——》.bin——》webpack-dev-server.cmd文件,在文件中加上 “node --max-old-space-size=4096”。 阅读全文
posted @ 2020-03-21 14:38 turbozhang 阅读(263) 评论(0) 推荐(0) 编辑
摘要: trim() 方法用于删除字符串的头尾空格。(这个方法可以判断是否输入全是空格) addNewTag(){ this.$refs["addTagForm"].validate((valid) => { if (valid) { var name = this.addTagForm.tagName.t 阅读全文
posted @ 2020-03-18 22:50 turbozhang 阅读(5731) 评论(0) 推荐(0) 编辑