Commit 694e0fb4 by 胡悦

修复bug

1 parent 96f06c7f
@import './common.scss'; @import './common.scss';
@import './reset.scss';
body { body {
overflow: hidden; overflow: hidden;
...@@ -76,4 +77,4 @@ a:hover { ...@@ -76,4 +77,4 @@ a:hover {
.app-container { .app-container {
padding: 20px; padding: 20px;
} }
\ No newline at end of file \ No newline at end of file
.el-tree--highlight-current .el-tree-node.is-current>.el-tree-node__content {
background-color: #409EFF;
color: #ffffff;
}
\ No newline at end of file \ No newline at end of file
...@@ -63,6 +63,11 @@ export const Common = { ...@@ -63,6 +63,11 @@ export const Common = {
return callback(new Error('只支持正整数')) return callback(new Error('只支持正整数'))
} }
} }
if (!value) {
return callback(new Error('请输入正整数'))
}else {
callback()
}
}, },
/** /**
* 手机号 * 手机号
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!