bihuisong 1 năm trước cách đây
mục cha
commit
177c6b52c2
1 tập tin đã thay đổi với 3 bổ sung4 xóa
  1. 3 4
      authority-ui/src/views/authority/secret/index.vue

+ 3 - 4
authority-ui/src/views/authority/secret/index.vue

@@ -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) {