From c2e4ed1a6e3a14406db471304360cd45ac8177d1 Mon Sep 17 00:00:00 2001
From: jiaosong <jiaosong6760@dingtalk.com>
Date: 星期五, 11 八月 2023 18:46:58 +0800
Subject: [PATCH] Merge remote-tracking branch 'origin/master'

---
 platform_web/src/components/system/menu/OperaMenuWindow.vue |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/platform_web/src/components/system/menu/OperaMenuWindow.vue b/platform_web/src/components/system/menu/OperaMenuWindow.vue
index 5fc5eaf..53a6fc8 100644
--- a/platform_web/src/components/system/menu/OperaMenuWindow.vue
+++ b/platform_web/src/components/system/menu/OperaMenuWindow.vue
@@ -73,7 +73,6 @@
      * @type: 0骞冲彴 1銆佷紒涓� 2銆乭5
      */
     open (title, target, parent, type) {
-      debugger
       this.title = title
       this.visible = true
       // 鏂板缓锛宮enu涓虹┖鏃惰〃绀烘柊寤鸿彍鍗�
@@ -81,10 +80,10 @@
         this.excludeMenuId = null
         this.$nextTick(() => {
           this.$refs.form.resetFields()
+          this.form.type = type
           this.form.id = null
           this.form.parentId = parent == null ? null : parent.id
           this.parentName = parent == null ? null : parent.name
-          this.form.type = type
         })
         return
       }
@@ -94,6 +93,7 @@
         for (const key in this.form) {
           this.form[key] = target[key]
         }
+        this.form.type = type
       })
     }
   },

--
Gitblit v1.9.3