三页面重设计与移动端适配;接入 PWA 与构建分包
CI / test (push) Successful in 47s

This commit is contained in:
2026-07-21 19:26:22 +08:00
parent ac457282ce
commit 6129173fe6
64 changed files with 6243 additions and 549 deletions
+5 -5
View File
@@ -137,7 +137,7 @@ function renderActions(row: BvRow) {
NButton,
{
size: 'tiny',
tertiary: true,
quaternary: true,
disabled: gone || attached || row.lifecycleState !== 'AVAILABLE',
title: attached ? '已挂载到实例' : undefined,
onClick: () => openAttach(row),
@@ -148,7 +148,7 @@ function renderActions(row: BvRow) {
attached || gone
? h(
NButton,
{ size: 'tiny', type: 'error', ghost: true, disabled: true, title: attached ? '仅未挂载状态可删除' : undefined },
{ size: 'tiny', type: 'error', quaternary: true, disabled: true, title: attached ? '仅未挂载状态可删除' : undefined },
{ default: () => '删除' },
)
: h(
@@ -161,13 +161,13 @@ function renderActions(row: BvRow) {
},
{
trigger: () =>
h(NButton, { size: 'tiny', type: 'error', ghost: true }, { default: () => '删除' }),
h(NButton, { size: 'tiny', type: 'error', quaternary: true }, { default: () => '删除' }),
},
)
return h('div', { class: 'flex items-center gap-1.5' }, [
h(
NButton,
{ size: 'tiny', tertiary: true, disabled: gone, onClick: () => openEdit(row) },
{ size: 'tiny', quaternary: true, disabled: gone, onClick: () => openEdit(row) },
{ default: () => '编辑' },
),
attachBtn,
@@ -276,7 +276,7 @@ const columns = computed<DataTableColumns<BvRow>>(() => [
:row-key="(r: BvRow) => r.id"
/>
<FootNote>
引导卷随实例创建产生,不提供单独创建 · 挂载须实例同可用域且处于 STOPPED · 仅未挂载状态可删除
挂载须实例同可用域且处于 STOPPED · 仅未挂载状态可删除
</FootNote>
</div>