Commit ed8958bb by 姜雷

修改导入的正则

parent fa179495
This source diff could not be displayed because it is too large. You can view the blob instead.
This source diff could not be displayed because it is too large. You can view the blob instead.
This source diff could not be displayed because it is too large. You can view the blob instead.
This source diff could not be displayed because it is too large. You can view the blob instead.
{ {
"name": "rym-element-ui", "name": "rym-element-ui",
"version": "0.1.75", "version": "0.1.76",
"description": "任意门组件库", "description": "任意门组件库",
"main": "lib/rymUi.common.js", "main": "lib/rymUi.common.js",
"scripts": { "scripts": {
......
...@@ -151,6 +151,7 @@ ...@@ -151,6 +151,7 @@
title="导入" title="导入"
:visible.sync="importDialogVisible" :visible.sync="importDialogVisible"
:before-close="closeHandle" :before-close="closeHandle"
append-to-body
> >
<el-input <el-input
type="textarea" type="textarea"
...@@ -336,7 +337,7 @@ export default { ...@@ -336,7 +337,7 @@ export default {
: (this.importDialogVisible = false); : (this.importDialogVisible = false);
}, },
checkImportData() { checkImportData() {
let dataList = this.importData.split(/\W/); let dataList = this.importData.split(/\w/);
console.log(dataList); console.log(dataList);
let errorList = []; let errorList = [];
let selectedList = []; let selectedList = [];
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment