11wqe1 6 дней назад
Родитель
Сommit
efd87bfea1
1 измененных файлов с 1 добавлено и 1 удалено
  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);
 				}