解决form验证报错的问题

This commit is contained in:
潘提保 2021-04-12 17:50:48 +08:00
parent bf188151e8
commit e89f4cd9c5
2 changed files with 3 additions and 2 deletions

View File

@ -22,7 +22,7 @@
"aws-sdk": "^2.743.0", "aws-sdk": "^2.743.0",
"d3": "^4.11.0", "d3": "^4.11.0",
"echarts": "3.7.1", "echarts": "3.7.1",
"element-ui": "^1.4.6", "element-ui": "1.4.6",
"file-saver": "^2.0.2", "file-saver": "^2.0.2",
"ip-range-check": "^0.2.0", "ip-range-check": "^0.2.0",
"ip.js": "^1.3.2", "ip.js": "^1.3.2",

View File

@ -1,5 +1,6 @@
import rules from "./rules"; import rules from "./rules";
const Schema = require('async-validator'); import Schema from 'async-validator';
export default { export default {
init() { init() {
for (let item of rules) { for (let item of rules) {