From b24e25ad829c484628b09d291db5e01b4f5275db Mon Sep 17 00:00:00 2001 From: buqiyuan <1743369777@qq.com> Date: Wed, 24 Aug 2022 23:45:27 +0800 Subject: [PATCH] feat: edit-row-table support save loading --- package.json | 16 +- .../src/components/table-action.vue | 115 +++-- .../dynamic-table/src/hooks/useColumns.tsx | 18 +- .../dynamic-table/src/types/tableAction.ts | 6 +- src/utils/is/index.ts | 6 + .../demos/tables/edit-row-table/columns.tsx | 12 +- .../demos/tables/edit-row-table/index.vue | 20 +- .../demos/tables/search-table/columns.tsx | 23 +- yarn.lock | 426 +++++++----------- 9 files changed, 315 insertions(+), 327 deletions(-) diff --git a/package.json b/package.json index e128807fb..e0829354d 100644 --- a/package.json +++ b/package.json @@ -34,7 +34,7 @@ }, "dependencies": { "@ant-design/icons-vue": "~6.1.0", - "@vueuse/core": "~9.1.0", + "@vueuse/core": "~9.1.1", "ant-design-vue": "3.2.11", "axios": "~0.27.2", "core-js": "~3.24.1", @@ -58,10 +58,10 @@ "@commitlint/cli": "~17.0.3", "@commitlint/config-conventional": "~17.0.3", "@types/lodash-es": "~4.17.6", - "@types/node": "~18.7.6", + "@types/node": "~18.7.13", "@types/webpack-env": "~1.18.0", - "@typescript-eslint/eslint-plugin": "~5.33.1", - "@typescript-eslint/parser": "~5.33.1", + "@typescript-eslint/eslint-plugin": "~5.34.0", + "@typescript-eslint/parser": "~5.34.0", "@vue/cli-plugin-babel": "~5.0.8", "@vue/cli-plugin-eslint": "~5.0.8", "@vue/cli-plugin-router": "~5.0.8", @@ -72,13 +72,13 @@ "babel-plugin-import": "~1.13.5", "conventional-changelog-cli": "~2.2.2", "cross-env": "~7.0.3", - "cz-git": "~1.3.10", - "czg": "~1.3.10", + "cz-git": "~1.3.11", + "czg": "~1.3.11", "eslint": "~8.22.0", "eslint-config-prettier": "~8.5.0", "eslint-plugin-import": "2.26.0", "eslint-plugin-prettier": "~4.2.1", - "eslint-plugin-vue": "~9.3.0", + "eslint-plugin-vue": "~9.4.0", "husky": "~8.0.1", "less": "~4.1.3", "less-loader": "11.0.0", @@ -95,7 +95,7 @@ "stylelint-config-prettier": "~9.0.3", "stylelint-config-recommended": "~9.0.0", "stylelint-config-recommended-vue": "~1.4.0", - "stylelint-config-standard": "~27.0.0", + "stylelint-config-standard": "~28.0.0", "stylelint-order": "~5.0.0", "svg-sprite-loader": "~6.0.11", "typescript": "~4.7.4", diff --git a/src/components/core/dynamic-table/src/components/table-action.vue b/src/components/core/dynamic-table/src/components/table-action.vue index 6a26b15eb..12926d44d 100644 --- a/src/components/core/dynamic-table/src/components/table-action.vue +++ b/src/components/core/dynamic-table/src/components/table-action.vue @@ -1,55 +1,98 @@