diff --git a/src/components/AddData.vue b/src/components/AddData.vue index ab34d44..48fbe91 100644 --- a/src/components/AddData.vue +++ b/src/components/AddData.vue @@ -6,6 +6,7 @@ :before-close="closeDialog" > - 取消 - 保存 + 取消 + 保存 @@ -207,7 +208,7 @@ export default { rules: { name: [ { required: true, message: "请输入通讯名称", trigger: "blur" }, - { required: true, validator: validName, trigger: "blur" }, + // { required: true, validator: validName, trigger: "blur" }, ], description: [{ required: true, message: "请输入驱动描述", trigger: "blur" }], type: [{ required: true, message: "请选择通讯驱动", trigger: "blur" }] diff --git a/src/components/AddMb.vue b/src/components/AddMb.vue index 4ae4fc1..30abca3 100644 --- a/src/components/AddMb.vue +++ b/src/components/AddMb.vue @@ -1,6 +1,6 @@