mirror of
https://github.com/jumpserver/lina.git
synced 2026-01-15 14:24:39 +00:00
fix: 授权资产查看账号失败
This commit is contained in:
@@ -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 || []
|
||||
})
|
||||
|
||||
Reference in New Issue
Block a user