卡片结构

This commit is contained in:
lijiahangmax
2023-09-28 01:30:25 +08:00
parent 8654309c20
commit 93edcd216a
6 changed files with 140 additions and 20 deletions

View File

@@ -76,23 +76,23 @@
const viewsOpts = computed(() => [
{
name: '主机列表',
key: 'host',
key: 'hostView',
type: 'radio-group',
defaultVal: appStore.host,
defaultVal: appStore.hostView,
options: [{ value: 'table', label: '表格' }, { value: 'card', label: '卡片' }]
},
{
name: '主机秘钥',
key: 'hostKeys',
key: 'hostKeyView',
type: 'radio-group',
defaultVal: appStore.hostKeys,
defaultVal: appStore.hostKeyView,
options: [{ value: 'table', label: '表格' }, { value: 'card', label: '卡片' }]
},
{
name: '主机身份',
key: 'hostIdentity',
key: 'hostIdentityView',
type: 'radio-group',
defaultVal: appStore.hostIdentity,
defaultVal: appStore.hostIdentityView,
options: [{ value: 'table', label: '表格' }, { value: 'card', label: '卡片' }]
},
]);