08 2020 档案

摘要:test(e) { let boolean = new RegExp('^[A-Za-z0-9\u4e00-\u9fa5]$').test(parseInt(e.target.value)) if (boolean) { this.$message({ message: '不允许出现特殊字符,请重新 阅读全文
posted @ 2020-08-25 15:44 四季春的茶- 阅读(337) 评论(0) 推荐(0)
摘要:首先安装依赖 import XLSX from "xlsx"; import FileSaver from "file-saver"; html <el-button style="float:right" @click="download('模板下载')" type="primary" class 阅读全文
posted @ 2020-08-21 22:03 四季春的茶- 阅读(1307) 评论(0) 推荐(0)
摘要:针对el-table里面增加复制url的功能按钮html: <el-button @click="copyurl(scope.row.url)" type="text" size="small">复制url</el-button> js: copyurl(url) { console.log(url 阅读全文
posted @ 2020-08-21 16:29 四季春的茶- 阅读(2671) 评论(0) 推荐(0)