mirror of
https://github.com/jumpserver/lina.git
synced 2026-01-13 11:24:17 +00:00
fix: 修复远程应用-账号列表跳转报错问题
This commit is contained in:
@@ -244,7 +244,7 @@ export default {
|
||||
hasLeftActions: this.hasLeftActions,
|
||||
hasMoreActions: true,
|
||||
hasCreate: false,
|
||||
hasImport: true,
|
||||
hasImport: this.hasImport,
|
||||
hasExport: this.hasExport && this.$hasPerm('accounts.view_accountsecret'),
|
||||
exportOptions: {
|
||||
url: this.exportUrl,
|
||||
|
||||
@@ -27,7 +27,8 @@ export default {
|
||||
iShowTree: true,
|
||||
tableConfig: {
|
||||
url: '/api/v1/accounts/accounts/',
|
||||
hasLeftActions: true
|
||||
hasLeftActions: true,
|
||||
hasImport: true
|
||||
},
|
||||
treeSetting: {
|
||||
showMenu: false,
|
||||
|
||||
@@ -19,6 +19,9 @@ export default {
|
||||
return {
|
||||
columnsMeta: {
|
||||
name: {
|
||||
formatter: (row) => <span>{row.name}</span>
|
||||
},
|
||||
asset: {
|
||||
label: this.$t('assets.Asset'),
|
||||
formatter: (row) => <span>{row.asset.name}</span>
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user