Explorar o código

修改删除侧边栏设置

11wqe1 hai 6 días
pai
achega
efd87bfea1
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  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);
 				}