Browse Source

修改删除侧边栏设置

11wqe1 3 days ago
parent
commit
efd87bfea1
1 changed files with 1 additions and 1 deletions
  1. 1 1
      src/components/dialog/permissionSettingDialog.vue

+ 1 - 1
src/components/dialog/permissionSettingDialog.vue

@@ -1575,7 +1575,7 @@ export default {
 						(i) => i.typeId == typeIdList[0]
 					);
 					let _index2 = this.form.admin.sidebar.list[_index].children.findIndex(
-						(i) => i.typeId == typeIdList[1]
+						(i) => i.typeId == typeId
 					);
 					this.form.admin.sidebar.list[_index].children.splice(_index2, 1);
 				}