fix: 修复创建资产添加账号模版报错问题

This commit is contained in:
Bai
2023-03-16 12:33:44 +08:00
committed by Jiangjie.Bai
parent 82c2e20fce
commit f12707d958
3 changed files with 2 additions and 2 deletions

View File

@@ -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

View File

@@ -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: [],