From 1a33b944d425b1488f4e5b93725bdf00609271be Mon Sep 17 00:00:00 2001
From: 马宇豪 <978517621@qq.com>
Date: Thu, 30 Mar 2023 14:49:42 +0800
Subject: [PATCH] 修改部门新增规则
---
src/views/facilityManagement/deviceType/component/Dailog.vue | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/src/views/facilityManagement/deviceType/component/Dailog.vue b/src/views/facilityManagement/deviceType/component/Dailog.vue
index 16776f3..ce4d7af 100644
--- a/src/views/facilityManagement/deviceType/component/Dailog.vue
+++ b/src/views/facilityManagement/deviceType/component/Dailog.vue
@@ -125,7 +125,7 @@
if (!formEl) return;
await formEl.validate((valid, fields) => {
if (valid) {
- if (titleT.value == '新增') {
+ if (titleT.value == '新建') {
delete form.value.id;
}
facilityManagementApi()
--
Gitblit v1.9.2