From 4625ae948b93ad0d89f51c6b33b01928949be6d6 Mon Sep 17 00:00:00 2001 From: xuliangzhan Date: Thu, 12 Dec 2024 18:45:43 +0800 Subject: [PATCH] =?UTF-8?q?=E6=94=AF=E6=8C=81=E5=88=97=E4=BB=BB=E6=84=8F?= =?UTF-8?q?=E6=8B=96=E6=8B=BD?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .gitee/ISSUE_TEMPLATE/bug_report.yml | 10 +- .github/ISSUE_TEMPLATE/bug_report.yml | 2 +- examples/views/table/TableTest2.vue | 12 +- examples/views/table/TableTest3.vue | 11 +- examples/views/table/TableTest6.vue | 2 +- package.json | 4 +- packages/locale/lang/ar-EG.ts | 6 +- packages/locale/lang/de-DE.ts | 6 +- packages/locale/lang/en-US.ts | 6 +- packages/locale/lang/es-ES.ts | 6 +- packages/locale/lang/fr-FR.ts | 6 +- packages/locale/lang/hu-HU.ts | 6 +- packages/locale/lang/hy-AM.ts | 6 +- packages/locale/lang/ja-JP.ts | 6 +- packages/locale/lang/ko-KR.ts | 6 +- packages/locale/lang/nb-NO.ts | 6 +- packages/locale/lang/pt-BR.ts | 6 +- packages/locale/lang/ru-RU.ts | 6 +- packages/locale/lang/ug-CN.ts | 6 +- packages/locale/lang/uk-UA.ts | 6 +- packages/locale/lang/vi-VN.ts | 6 +- packages/locale/lang/zh-CHT.ts | 6 +- packages/locale/lang/zh-CN.ts | 6 +- packages/table/module/custom/hook.ts | 3 +- packages/table/module/custom/panel.ts | 609 ++++++++++++++------- packages/table/src/body.ts | 2 +- packages/table/src/cell.ts | 4 +- packages/table/src/group.ts | 2 +- packages/table/src/table.ts | 214 ++++++-- packages/ui/src/dom.ts | 2 + styles/components/table-module/custom.scss | 104 +++- styles/components/table.scss | 5 + 32 files changed, 748 insertions(+), 340 deletions(-) diff --git a/.gitee/ISSUE_TEMPLATE/bug_report.yml b/.gitee/ISSUE_TEMPLATE/bug_report.yml index ee0c6ab6df..e722d7f857 100644 --- a/.gitee/ISSUE_TEMPLATE/bug_report.yml +++ b/.gitee/ISSUE_TEMPLATE/bug_report.yml @@ -5,7 +5,7 @@ body: - type: input id: issue_link attributes: - label: "可复现的链接:" + label: "可复现的链接(必须为公开链接,仅包含能复现问题的示例代码):" description: "一个最小化的重现示例能让我们精确地定位问题,从而快速解决问题。如何创建,点击 v3:[codesandbox](https://codesandbox.io/s/vue-template-916h0)、[jsfiddle](https://jsfiddle.net/86p7Ltny/)、[jsrun](https://jsrun.net/vIyKp/edit) 或 v4:[codesandbox](https://codesandbox.io/s/vxe-table-wentiyanshi-forked-54v2j)、[jsfiddle](https://jsfiddle.net/9qoghkbj/)、[jsrun](https://jsrun.net/K5IKp/edit),将代码示例编辑后保存。" validations: required: true @@ -26,27 +26,27 @@ body: id: issue_os_version attributes: label: "操作系统:" - placeholder: "例如:window10" + placeholder: "例如:window11" validations: required: true - type: input id: issue_browser_version attributes: label: "浏览器版本:" - placeholder: "例如:chrome 95.0.4638.69" + placeholder: "例如:chrome 133.0.6876.4" validations: required: true - type: input id: issue_vue_version attributes: label: "vue 版本:" - placeholder: "例如:2.6.0" + placeholder: "例如:3.5.0" validations: required: true - type: input id: issue_vxe_version attributes: label: "vxe-table 版本:" - placeholder: "例如:3.4.0" + placeholder: "例如:3.9.0" validations: required: true diff --git a/.github/ISSUE_TEMPLATE/bug_report.yml b/.github/ISSUE_TEMPLATE/bug_report.yml index eea0f595b0..d349247693 100644 --- a/.github/ISSUE_TEMPLATE/bug_report.yml +++ b/.github/ISSUE_TEMPLATE/bug_report.yml @@ -5,7 +5,7 @@ body: - type: input id: issue_link attributes: - label: "可复现的链接(包含复现链接与示例代码):" + label: "可复现的链接(必须为公开链接,仅包含能复现问题的示例代码):" description: "一个最小化的重现示例能让我们精确地定位问题,从而快速解决问题。" validations: required: true diff --git a/examples/views/table/TableTest2.vue b/examples/views/table/TableTest2.vue index 4a4ecf5743..6a82c9484b 100644 --- a/examples/views/table/TableTest2.vue +++ b/examples/views/table/TableTest2.vue @@ -14,6 +14,7 @@ id="bbbbb" :row-config="{useKey: true,drag:true}" :column-config="{useKey: true,drag: true}" + :column-drag-config="{isCrossDrag:true,isToChildDrag:true,isSelfToChildDrag:true}" :custom-config="customConfig" :loading="demo1.loading" :import-config="{modes: importModes}" @@ -25,10 +26,10 @@ @row-dragstart="rowDragstartEvent" @row-dragover="rowDragoverEvent" @row-dragend="rowDragendEvent"> - - - - + + + +