mirror of
https://github.com/jumpserver/lina.git
synced 2025-08-17 22:37:18 +00:00
[Update] 删除GrantedAssets组件OnSelected中的方法调用
This commit is contained in:
parent
7bc1912d6d
commit
d59946d5aa
@ -1,5 +1,5 @@
|
|||||||
<template>
|
<template>
|
||||||
<TreeTable ref="TreeTable" :table-config="tableConfig" :header-actions="headerActions" :tree-setting="treeSetting" />
|
<TreeTable :table-config="tableConfig" :header-actions="headerActions" :tree-setting="treeSetting" />
|
||||||
</template>
|
</template>
|
||||||
|
|
||||||
<script type="text/jsx">
|
<script type="text/jsx">
|
||||||
@ -29,8 +29,7 @@ export default {
|
|||||||
const initialUrl = vm.tableConfig.initialUrl
|
const initialUrl = vm.tableConfig.initialUrl
|
||||||
const nodeId = node.meta.node.id
|
const nodeId = node.meta.node.id
|
||||||
const url = initialUrl.replace('/assets/', `/nodes/${nodeId}/assets/`)
|
const url = initialUrl.replace('/assets/', `/nodes/${nodeId}/assets/`)
|
||||||
// vm.tableConfig.url = url
|
vm.tableConfig.url = url
|
||||||
vm.$refs.TreeTable.handleUrlChange(url)
|
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
getShowUrl: {
|
getShowUrl: {
|
||||||
|
Loading…
Reference in New Issue
Block a user