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: '設定',