mirror of
https://github.com/jumpserver/lina.git
synced 2025-09-19 17:54:37 +00:00
fix: 修复创建资产添加账号模版报错问题
This commit is contained in:
@@ -17,7 +17,7 @@ import { ActionsFormatter } from '@/components/TableFormatters'
|
|||||||
import ViewSecret from '@/components/AccountListTable/ViewSecret'
|
import ViewSecret from '@/components/AccountListTable/ViewSecret'
|
||||||
|
|
||||||
export default {
|
export default {
|
||||||
name: 'AccountBackupPlanList',
|
name: 'AccountTemplateList',
|
||||||
components: {
|
components: {
|
||||||
GenericListPage,
|
GenericListPage,
|
||||||
ViewSecret
|
ViewSecret
|
||||||
|
@@ -80,7 +80,7 @@ export default {
|
|||||||
}
|
}
|
||||||
},
|
},
|
||||||
data() {
|
data() {
|
||||||
const protocols = this.asset.protocols.map(i => i.name).toString()
|
const protocols = this.asset?.protocols?.map(i => i.name).toString() || ''
|
||||||
return {
|
return {
|
||||||
isShowCreate: false,
|
isShowCreate: false,
|
||||||
accountsSelected: [],
|
accountsSelected: [],
|
||||||
|
Reference in New Issue
Block a user