8
0
ZaiZai vor 1 Jahr
Ursprung
Commit
23b9d13bd9
1 geänderte Dateien mit 1 neuen und 1 gelöschten Zeilen
  1. 1 1
      src/views/system/menu.vue

+ 1 - 1
src/views/system/menu.vue

@@ -338,7 +338,7 @@ const addClick = () => {
     iconDialogTitle.value = '新增菜单'
     formModel.value = {
         category: 1, isOpen: 1, isLayout: 1, isShowButton: 1,
-        sort: 1, sysId: null, parentId: null,
+        sort: 1, sysId: searchForm.value.sysId ?? null, parentId: null,
     }
     //显示表单弹窗
     nextTick(() => {