From 0a9f9b618bbddf3df02b9de0fb6d1c82a72e2cc3 Mon Sep 17 00:00:00 2001 From: ChenZhaoYu <790348264@qq.com> Date: Sun, 12 Mar 2023 21:08:32 +0800 Subject: [PATCH] =?UTF-8?q?feat:=20=E8=B0=83=E6=95=B4=E7=95=8C=E9=9D=A2?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/components/common/PromptStore/index.vue | 271 ++++++++++---------- src/locales/zh-TW.ts | 3 + 2 files changed, 134 insertions(+), 140 deletions(-) diff --git a/src/components/common/PromptStore/index.vue b/src/components/common/PromptStore/index.vue index 7ce7ec8..7bc9879 100644 --- a/src/components/common/PromptStore/index.vue +++ b/src/components/common/PromptStore/index.vue @@ -257,7 +257,6 @@ const createColumns = (): DataTableColumns => { { title: t('store.title'), key: 'renderKey', - width: 160, }, { title: t('store.description'), @@ -296,6 +295,7 @@ const createColumns = (): DataTableColumns => { }, ] } + const columns = createColumns() watch( @@ -321,152 +321,143 @@ const dataSource = computed(() => { diff --git a/src/locales/zh-TW.ts b/src/locales/zh-TW.ts index f213637..6f139ee 100644 --- a/src/locales/zh-TW.ts +++ b/src/locales/zh-TW.ts @@ -18,6 +18,8 @@ export default { clearSuccess: '清除成功', yes: '是', no: '否', + confirm: '確定', + download: '下載', noData: '暫無資料', wrong: '好像出錯了,請稍後再試。', success: '操作成功', @@ -43,6 +45,7 @@ export default { deleteMessage: '刪除訊息', deleteMessageConfirm: '是否刪除此訊息?', deleteHistoryConfirm: '確定刪除此紀錄?', + clearHistoryConfirm: '確定清除紀錄?', }, setting: { setting: '設定',