From af5d2e08f665495d839cbb3797806ba29002847d Mon Sep 17 00:00:00 2001
From: 100011797 <2642441182@qq.com>
Date: Fri, 2 Jun 2023 10:04:20 +0800
Subject: [PATCH] =?UTF-8?q?fix:=20=E4=BF=AE=E6=94=B9=E8=BF=90=E8=A1=8C?=
=?UTF-8?q?=E7=8A=B6=E6=80=81=E5=86=99=E5=85=A5bool=E4=B8=8B=E6=8B=89?=
=?UTF-8?q?=E6=98=BE=E7=A4=BA=E9=97=AE=E9=A2=98?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
.../Instance/Detail/Running/Property/Save.vue | 95 ++++++++++++-------
src/views/system/Menu/Setting/utils.ts | 2 +-
2 files changed, 64 insertions(+), 33 deletions(-)
diff --git a/src/views/device/Instance/Detail/Running/Property/Save.vue b/src/views/device/Instance/Detail/Running/Property/Save.vue
index 8879f7c7..8216ee0d 100644
--- a/src/views/device/Instance/Detail/Running/Property/Save.vue
+++ b/src/views/device/Instance/Detail/Running/Property/Save.vue
@@ -1,5 +1,5 @@
-
-
-
-
+
+
+
-
+
\ No newline at end of file
diff --git a/src/views/system/Menu/Setting/utils.ts b/src/views/system/Menu/Setting/utils.ts
index 73457baf..e1be234f 100644
--- a/src/views/system/Menu/Setting/utils.ts
+++ b/src/views/system/Menu/Setting/utils.ts
@@ -40,7 +40,7 @@ export const mergeArr = (oldData: Array, newData: Array) => {
}
if(oldItem && newItem){
- oldItem = { ...oldData,...omit(newItem, ['children'])}
+ oldItem.sortIndex = newItem?.sortIndex
}
if (!oldItem.children && newItem.children) {