Commit 5e01b0a0 by 前端

增加空隔校验

1 parent c9f06f57
......@@ -923,7 +923,7 @@ export default {
let checkDevice = (rule, value, cb) => {
if (rule.field) {
let i = rule.field.split("device")[1];
let sn = this.snForm.deviceArr[i].sn;
let sn = this.snForm.deviceArr[i].sn.trim();
if (this.snForm.deviceArr[i].disabled) return cb();
if (sn == "") {
this.snForm.deviceArr[i].deviceType = "";
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!