diff --git a/admin-frontend-vue/src/pages/records/RecordsDigitalHumanVersionPage.vue b/admin-frontend-vue/src/pages/records/RecordsDigitalHumanVersionPage.vue index 7536109c..dee09594 100644 --- a/admin-frontend-vue/src/pages/records/RecordsDigitalHumanVersionPage.vue +++ b/admin-frontend-vue/src/pages/records/RecordsDigitalHumanVersionPage.vue @@ -221,10 +221,10 @@ onMounted(load) diff --git a/admin-frontend-vue/src/pages/records/RecordsHistoryPage.vue b/admin-frontend-vue/src/pages/records/RecordsHistoryPage.vue index 145ce87a..6a7b58de 100644 --- a/admin-frontend-vue/src/pages/records/RecordsHistoryPage.vue +++ b/admin-frontend-vue/src/pages/records/RecordsHistoryPage.vue @@ -223,7 +223,7 @@ onMounted(() => { diff --git a/admin-frontend-vue/src/pages/shop/ShopKeysPage.vue b/admin-frontend-vue/src/pages/shop/ShopKeysPage.vue index 7fbe39f9..4f7b2ee6 100644 --- a/admin-frontend-vue/src/pages/shop/ShopKeysPage.vue +++ b/admin-frontend-vue/src/pages/shop/ShopKeysPage.vue @@ -156,8 +156,8 @@ onMounted(load) diff --git a/admin-frontend-vue/src/pages/shop/ShopManagePage.vue b/admin-frontend-vue/src/pages/shop/ShopManagePage.vue index 37ea1431..0250a677 100644 --- a/admin-frontend-vue/src/pages/shop/ShopManagePage.vue +++ b/admin-frontend-vue/src/pages/shop/ShopManagePage.vue @@ -257,9 +257,9 @@ onMounted(() => { diff --git a/admin-frontend-vue/src/pages/tasks/ImageVideoTasksPage.vue b/admin-frontend-vue/src/pages/tasks/ImageVideoTasksPage.vue index f23ad81b..5b92beba 100644 --- a/admin-frontend-vue/src/pages/tasks/ImageVideoTasksPage.vue +++ b/admin-frontend-vue/src/pages/tasks/ImageVideoTasksPage.vue @@ -277,7 +277,7 @@ onMounted(load) 任务 {{ task.taskId }} {{ statusLabel(task.status) }} - 明细 + 明细
@@ -299,7 +299,6 @@ onMounted(load) 视频加载失败,可尝试下载 第 {{ index + 1 }} 个 ]*size="small"[^>]*@click="${action}`), `${action} 为 size=small 实心按钮`) + assert.doesNotMatch(source, new RegExp(`]*link[^>]*@click="${action}`), `${action} 不再 link`) + assert.doesNotMatch(source, new RegExp(`]*text[^>]*@click="${action}`), `${action} 不再 text`) +} + +test('align_shop_manage_row_buttons_solid', () => { + const s = readSource('src/pages/shop/ShopManagePage.vue') + assertRowButtonSolid(s, 'openEdit') + assertRowButtonSolid(s, 'showCredential') + assertRowButtonSolid(s, 'remove') +}) + +test('align_shop_keys_row_buttons_solid', () => { + const s = readSource('src/pages/shop/ShopKeysPage.vue') + assertRowButtonSolid(s, 'openEdit') + assertRowButtonSolid(s, 'remove') +}) + +test('align_records_history_preview_solid', () => { + const s = readSource('src/pages/records/RecordsHistoryPage.vue') + assertRowButtonSolid(s, 'openPreview') +}) + +test('align_digital_human_row_buttons_solid', () => { + const s = readSource('src/pages/records/RecordsDigitalHumanVersionPage.vue') + assertRowButtonSolid(s, 'release') + assertRowButtonSolid(s, 'setLatest') + assertRowButtonSolid(s, 'download') + assertRowButtonSolid(s, 'remove') +}) + +test('align_image_video_detail_and_download_solid', () => { + const s = readSource('src/pages/tasks/ImageVideoTasksPage.vue') + assertRowButtonSolid(s, 'openDetail') + assertRowButtonSolid(s, 'downloadVideo') +}) + +test('align_copy_link_aux_kept_text', () => { + // 辅助"复制链接"保留 text(非破坏主操作),避免被误伤。 + const s = readSource('src/pages/tasks/ImageVideoTasksPage.vue') + assert.match(s, /]*text[^>]*@click="copyLink/, '复制链接保留 text') +})