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'
export default {
name: 'AccountBackupPlanList',
name: 'AccountTemplateList',
components: {
GenericListPage,
ViewSecret

View File

@@ -80,7 +80,7 @@ export default {
}
},
data() {
const protocols = this.asset.protocols.map(i => i.name).toString()
const protocols = this.asset?.protocols?.map(i => i.name).toString() || ''
return {
isShowCreate: false,
accountsSelected: [],