mirror of
https://github.com/jumpserver/lina.git
synced 2025-09-19 09:43:32 +00:00
fix: 修复创建资产添加账号模版报错问题
This commit is contained in:
@@ -17,7 +17,7 @@ import { ActionsFormatter } from '@/components/TableFormatters'
|
||||
import ViewSecret from '@/components/AccountListTable/ViewSecret'
|
||||
|
||||
export default {
|
||||
name: 'AccountBackupPlanList',
|
||||
name: 'AccountTemplateList',
|
||||
components: {
|
||||
GenericListPage,
|
||||
ViewSecret
|
||||
|
@@ -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: [],
|
||||
|
Reference in New Issue
Block a user