From deb3baf0fb04c3a9f5b0d4b5bd9fb3237908d576 Mon Sep 17 00:00:00 2001
From: k94314517 <8417338+k94314517@user.noreply.gitee.com>
Date: 星期一, 19 二月 2024 18:38:12 +0800
Subject: [PATCH] 111
---
 platform/src/components/system/role/OperaRoleWindow.vue |    7 ++-----
 1 files changed, 2 insertions(+), 5 deletions(-)
diff --git a/platform/src/components/system/role/OperaRoleWindow.vue b/platform/src/components/system/role/OperaRoleWindow.vue
index 2c83918..03fce75 100644
--- a/platform/src/components/system/role/OperaRoleWindow.vue
+++ b/platform/src/components/system/role/OperaRoleWindow.vue
@@ -35,8 +35,7 @@
         id: null,
         code: '',
         name: '',
-        remark: '',
-        type: '',
+        remark: ''
       },
       // 楠岃瘉瑙勫垯
       rules: {
@@ -50,14 +49,13 @@
     }
   },
   methods: {
-    open (title, target, type) {
+    open (title, target) {
       this.title = title
       this.visible = true
       // 鏂板缓
       if (target == null) {
         this.$nextTick(() => {
           this.$refs.form.resetFields()
-          this.form.type = type
           this.form[this.configData['field.id']] = null
         })
         return
@@ -68,7 +66,6 @@
         for (const key in this.form) {
           this.form[key] = target[key]
         }
-        this.form.type = type
       })
     },
     confirm () {
--
Gitblit v1.9.3