mirror of
https://github.com/jumpserver/lina.git
synced 2026-01-29 21:28:52 +00:00
perf: auto decide create in new page or current page in asset or permission
This commit is contained in:
@@ -167,6 +167,9 @@ export default {
|
||||
},
|
||||
async refresh() {
|
||||
this.treeSearchValue = ''
|
||||
if (this.treeSetting?.callback?.beforeRefresh) {
|
||||
this.treeSetting.callback.beforeRefresh()
|
||||
}
|
||||
if (this.treeSetting?.callback?.refresh) {
|
||||
await this.treeSetting.callback.refresh()
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user