From 3badc444ad4b287f3cc2d0c1114f5110b8aede2a Mon Sep 17 00:00:00 2001 From: nancyzhan <1020449768@qq.com> Date: Mon, 11 Nov 2024 15:41:46 +0800 Subject: [PATCH] =?UTF-8?q?feat:=20=E5=9B=BD=E9=99=85=E5=8C=96=E5=AE=8C?= =?UTF-8?q?=E5=96=84=EF=BC=8C=E6=9B=B4=E6=96=B0=E8=87=B31.11.1=E7=89=88?= =?UTF-8?q?=E6=9C=AC?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- package.json | 2 +- .../components/TableHeaderConfig/TableHeaderConfig.vue | 2 ++ packages/traction-widget/components/locales/lang/enUS.ts | 6 ++++-- packages/traction-widget/components/locales/lang/zhCN.ts | 4 +++- packages/traction-widget/package.json | 2 +- 5 files changed, 11 insertions(+), 5 deletions(-) diff --git a/package.json b/package.json index aa9964b..35c8363 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@fesjs/traction-widget", - "version": "1.11.0", + "version": "1.11.1", "description": "集合大型中台项目使用到的通用组件和工具函数", "scripts": { "docs:dev": "npm run build && node docs/.vitepress/scripts/generate-doc.js && vitepress dev docs", diff --git a/packages/traction-widget/components/TableHeaderConfig/TableHeaderConfig.vue b/packages/traction-widget/components/TableHeaderConfig/TableHeaderConfig.vue index 2e362a2..d1042a8 100644 --- a/packages/traction-widget/components/TableHeaderConfig/TableHeaderConfig.vue +++ b/packages/traction-widget/components/TableHeaderConfig/TableHeaderConfig.vue @@ -6,6 +6,8 @@ :width="600" :maskClosable="false" :getContainer="getContainer" + :okText="tableHeaderConfigLocalObj?.confirm" + :cancelText="tableHeaderConfigLocalObj?.cancel" @ok="updateHeaders" @cancel="reductionHeaders" @update:show="$emit('update:show', $event)" diff --git a/packages/traction-widget/components/locales/lang/enUS.ts b/packages/traction-widget/components/locales/lang/enUS.ts index 78b0d50..f3962e6 100644 --- a/packages/traction-widget/components/locales/lang/enUS.ts +++ b/packages/traction-widget/components/locales/lang/enUS.ts @@ -1,5 +1,5 @@ export default { - name: 'en', + name: 'en-US', desc: '英文', pageLoading: { logout: 'Logout', @@ -20,7 +20,9 @@ export default { titleDesc: 'Set the fields to be displayed in the table', selectedFields: 'Selected Fields', optionalFields: 'Optional Fields', - noOptionalFields: 'No optional fields available' + noOptionalFields: 'No optional fields available', + cancel: 'Cancel', + confirm: 'Confirm' }, TagSelector: { clearAll: 'Clear All', diff --git a/packages/traction-widget/components/locales/lang/zhCN.ts b/packages/traction-widget/components/locales/lang/zhCN.ts index 52e3924..1204efc 100644 --- a/packages/traction-widget/components/locales/lang/zhCN.ts +++ b/packages/traction-widget/components/locales/lang/zhCN.ts @@ -19,7 +19,9 @@ export default { titleDesc: '设置表格需要显示的字段信息', selectedFields: '已选字段', optionalFields: '可选字段', - noOptionalFields: '暂无可选字段' + noOptionalFields: '暂无可选字段', + cancel: '取消', + confirm: '确定' }, TagSelector: { clearAll: '全部删除', diff --git a/packages/traction-widget/package.json b/packages/traction-widget/package.json index 1f291cd..57ce49c 100644 --- a/packages/traction-widget/package.json +++ b/packages/traction-widget/package.json @@ -1,6 +1,6 @@ { "name": "@fesjs/traction-widget", - "version": "1.11.0", + "version": "1.11.1", "description": "集合大型中台项目使用到的通用组件和工具函数", "main": "dist/traction-widget.min.js", "module": "es/components/index.js",