소스 검색

修复权限取消之后再设置时的bug

yanglzh 2 년 전
부모
커밋
23a2767aab
1개의 변경된 파일1개의 추가작업 그리고 0개의 파일을 삭제
  1. 1 0
      src/views/system/manage/role/component/permission.vue

+ 1 - 0
src/views/system/manage/role/component/permission.vue

@@ -65,6 +65,7 @@ const openDialog = async (row: any) => {
 	title.value = '角色权限设置 - ' + row.name;
 	roleId.value = row.id;
 	isShowDialog.value = true;
+	step.value = 0;
 	let res = await api.role.auth.getList(typeList[step.value]);
 	// console.log(res);
 	treeData.value = res;