|
@@ -201,7 +201,7 @@ export default {
|
|
|
pageSize: 10,
|
|
|
projectName: null,
|
|
|
secretKey: null,
|
|
|
- macAddress:null,
|
|
|
+ macAddress: null,
|
|
|
},
|
|
|
projectData: [],
|
|
|
// 表单参数
|
|
@@ -216,8 +216,8 @@ export default {
|
|
|
overdueDate: [{required: true, message: "过期时间不能为空", trigger: "change"}],
|
|
|
projectName: [{required: true, message: "项目名称不能为空", trigger: "change"}],
|
|
|
macAddress: [
|
|
|
- { required: true, message: 'mac地址不能为空', trigger: 'change' },
|
|
|
- { validator: this.validateMacAddress, trigger: 'change' }
|
|
|
+ {required: true, message: 'mac地址不能为空', trigger: 'change'},
|
|
|
+ {validator: this.validateMacAddress, trigger: 'change'}
|
|
|
]
|
|
|
},
|
|
|
};
|
|
@@ -253,7 +253,6 @@ export default {
|
|
|
this.$modal.msgSuccess("关闭成功");
|
|
|
this.getList();
|
|
|
this.getProjectList();
|
|
|
- }).catch(() => {
|
|
|
});
|
|
|
},
|
|
|
switchChange(row) {
|