Explorar el Código

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

yanglzh hace 2 años
padre
commit
23a2767aab
Se han modificado 1 ficheros con 1 adiciones y 0 borrados
  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;