fix: 授权资产查看账号失败

This commit is contained in:
wangruidong
2024-04-08 11:33:38 +08:00
committed by w940853815
parent 19bab778ca
commit 8bbc66a281

View File

@@ -35,7 +35,7 @@ export default {
methods: {
async getAsyncItems() {
const userId = this.$route.params.id
const url = `api/v1/perms/users/${userId}/assets/${this.row.id}`
const url = `/api/v1/perms/users/${userId}/assets/${this.row.id}`
this.$axios.get(url).then(res => {
this.accountData = res?.permed_accounts || []
})