File tree Expand file tree Collapse file tree 1 file changed +10
-2
lines changed
ui/src/views/resource-authorization Expand file tree Collapse file tree 1 file changed +10
-2
lines changed Original file line number Diff line number Diff line change 5252 <div class =" permission-setting p-16 flex" v-loading =" rLoading" >
5353 <div class =" resource-authorization__table" >
5454 <h4 class =" mb-4" >{{ $t('views.resourceAuthorization.permissionSetting') }}</h4 >
55- <el-tabs v-model =" activeName" class =" resource-authorization__tabs" >
55+ <el-tabs
56+ v-model =" activeName"
57+ @tab-change =" handleTabChange"
58+ class =" resource-authorization__tabs"
59+ >
5660 <el-tab-pane
5761 v-for =" (item, index) in settingTags"
5862 :key =" item.value"
@@ -263,10 +267,14 @@ const dfsFolder = (arr: any[] = [], folderIdMap: any) => {
263267 })
264268}
265269
270+ const handleTabChange = () => {
271+ getWholeTree (currentUser .value )
272+ }
273+
266274function getFolder() {
267275 return AuthorizationApi .getSystemFolder (
268276 currentWorkspaceId .value || ' default' ,
269- ' KNOWLEDGE ' ,
277+ activeName . value ,
270278 {},
271279 loading ,
272280 )
You can’t perform that action at this time.
0 commit comments