mirror of
https://github.com/jumpserver/lina.git
synced 2025-09-25 14:25:23 +00:00
[update]修复Url问题导致消息无法传递到子组件
This commit is contained in:
@@ -29,9 +29,7 @@ export default {
|
||||
defaultSetting: {
|
||||
async: {
|
||||
enable: true,
|
||||
url: this.treeSetting.showAssets
|
||||
? `${process.env.VUE_APP_BASE_API}${this.setting.treeUrl}`
|
||||
: `${process.env.VUE_APP_BASE_API}${this.setUrlParam(this.setting.treeUrl, 'assets', '0')}`,
|
||||
url: `${process.env.VUE_APP_BASE_API}${this.setting.treeUrl}`,
|
||||
autoParam: ['id=key', 'name=n', 'level=lv'],
|
||||
type: 'get'
|
||||
},
|
||||
|
@@ -19,6 +19,7 @@ export default {
|
||||
showRefresh: true,
|
||||
showAssets: false,
|
||||
nodeUrl: '/api/v1/assets/nodes/',
|
||||
// ?assets=0不显示资产. =1显示资产
|
||||
treeUrl: '/api/v1/assets/nodes/children/tree/?assets=0'
|
||||
},
|
||||
columns: [
|
||||
|
Reference in New Issue
Block a user