Skip to content

Commit 2948bc9

Browse files
committed
fix: import error
1 parent 9dfd696 commit 2948bc9

File tree

1 file changed

+4
-2
lines changed
  • ui/src/components/resource-authorization-drawer

1 file changed

+4
-2
lines changed

ui/src/components/resource-authorization-drawer/index.vue

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -150,7 +150,7 @@
150150
</template>
151151
<script setup lang="ts">
152152
import { ref, onMounted, watch, computed, reactive } from 'vue'
153-
import { permissionOptions } from '@/views/system/resource-authorization/constant'
153+
import { getPermissionOptions } from '@/views/system/resource-authorization/constant'
154154
import AuthorizationApi from '@/api/system/resource-authorization'
155155
import { MsgSuccess, MsgConfirm } from '@/utils/message'
156156
import { t } from '@/locales'
@@ -159,7 +159,9 @@ const { user } = useStore()
159159
const props = defineProps<{
160160
type: string
161161
}>()
162-
162+
const permissionOptions = computed(() => {
163+
return getPermissionOptions()
164+
})
163165
const drawerVisible = ref(false)
164166
const multipleTableRef = ref()
165167

0 commit comments

Comments
 (0)