From 41f8a35ce80d15d256b60b0913d934cef841350f Mon Sep 17 00:00:00 2001 From: buqiyuan <1743369777@qq.com> Date: Sun, 14 Apr 2024 23:09:45 +0800 Subject: [PATCH] perf: use route path as unique route name fix: #178 --- package.json | 4 +- pnpm-lock.yaml | 38 +++++++++---------- .../table-settings/search-setting.vue | 4 +- .../core/schema-form/src/schema-form.ts | 2 +- src/router/helper/routeHelper.tsx | 13 +++++-- src/views/demos/form/basic-form/index.vue | 21 +++++++++- src/views/system/dict-type/columns.tsx | 2 +- 7 files changed, 53 insertions(+), 31 deletions(-) diff --git a/package.json b/package.json index d19373195..767b32cc9 100644 --- a/package.json +++ b/package.json @@ -61,7 +61,7 @@ "tinymce": "^6.8.3", "vue": "~3.4.21", "vue-echarts": "^6.6.9", - "vue-i18n": "9.12.0", + "vue-i18n": "9.12.1", "vue-router": "~4.3.0", "vue-types": "~5.1.1", "vue-virtual-scroller": "2.0.0-beta.8", @@ -98,7 +98,7 @@ "eslint-plugin-import": "~2.29.1", "eslint-plugin-prettier": "~5.1.3", "eslint-plugin-unused-imports": "^3.1.0", - "eslint-plugin-vue": "~9.24.1", + "eslint-plugin-vue": "~9.25.0", "husky": "~9.0.11", "less": "~4.2.0", "lint-staged": "~15.2.2", diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index 5587b52a3..4f90f61b7 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -72,8 +72,8 @@ importers: specifier: ^6.6.9 version: 6.6.9(echarts@5.5.0)(vue@3.4.21) vue-i18n: - specifier: 9.12.0 - version: 9.12.0(vue@3.4.21) + specifier: 9.12.1 + version: 9.12.1(vue@3.4.21) vue-router: specifier: ~4.3.0 version: 4.3.0(vue@3.4.21) @@ -178,8 +178,8 @@ importers: specifier: ^3.1.0 version: 3.1.0(@typescript-eslint/eslint-plugin@7.6.0)(eslint@8.57.0) eslint-plugin-vue: - specifier: ~9.24.1 - version: 9.24.1(eslint@8.57.0) + specifier: ~9.25.0 + version: 9.25.0(eslint@8.57.0) husky: specifier: ~9.0.11 version: 9.0.11 @@ -2649,24 +2649,24 @@ packages: resolution: {integrity: sha512-xwMfkPAxeo8Ji/IxfUSqzRi0/+F2GIqJmpc5/thelgMGsjNZcjDDRBO9TLXT1s/hdx/mK5QbVIvgoLIFgXhTMQ==} engines: {node: '>=18'} - /@intlify/core-base@9.12.0: - resolution: {integrity: sha512-6EnWQXHnCh2bMiXT5N/IWwkcYQXjmF8nnEZ3YhTm23h1ZfOylz83D7pJYhcU8CsTiEdgbGiNdqyZPKwrHw03Ng==} + /@intlify/core-base@9.12.1: + resolution: {integrity: sha512-l7djJEmXLAR44PdtKDEBev/TN9tREQz967/+jvN3WtICqFoy2Cz8kPtjDfvZctqPNzOonp+ESsDCUm+rjHsmdA==} engines: {node: '>= 16'} dependencies: - '@intlify/message-compiler': 9.12.0 - '@intlify/shared': 9.12.0 + '@intlify/message-compiler': 9.12.1 + '@intlify/shared': 9.12.1 dev: false - /@intlify/message-compiler@9.12.0: - resolution: {integrity: sha512-2c6VwhvVJ1nur+2cN2NjdrmrV6vXjvyxYVvtUYMXKsWSUwoNURHGds0xJVJmWxbF8qV9oGepcVV6xl9bvadEIg==} + /@intlify/message-compiler@9.12.1: + resolution: {integrity: sha512-6QrMGdqKUJSkctyg56nvE+h86tjQZTjYFEfx3ghQAXKPXUd1v5josZXrwnSbIEWWeAentlwtB5qW1FE5r2S8AQ==} engines: {node: '>= 16'} dependencies: - '@intlify/shared': 9.12.0 + '@intlify/shared': 9.12.1 source-map-js: 1.2.0 dev: false - /@intlify/shared@9.12.0: - resolution: {integrity: sha512-uBcH55x5CfZynnerWHQxrXbT6yD6j6T7Nt+R2+dHAOAneoMd6BoGvfEzfYscE94rgmjoDqdr+PdGDBLk5I5EjA==} + /@intlify/shared@9.12.1: + resolution: {integrity: sha512-xAAAxaMS7yUCkwXwqUVQmGCPbXSm6oHqMzcqr2IrxJQmC0DmuqoaW0yBeWyd/pG03PPXqGtWhJLnefsiVElzAQ==} engines: {node: '>= 16'} dev: false @@ -6216,8 +6216,8 @@ packages: eslint-rule-composer: 0.3.0 dev: true - /eslint-plugin-vue@9.24.1(eslint@8.57.0): - resolution: {integrity: sha512-wk3SuwmS1pZdcuJlokGYEi/buDOwD6KltvhIZyOnpJ/378dcQ4zchu9PAMbbLAaydCz1iYc5AozszcOOgZIIOg==} + /eslint-plugin-vue@9.25.0(eslint@8.57.0): + resolution: {integrity: sha512-tDWlx14bVe6Bs+Nnh3IGrD+hb11kf2nukfm6jLsmJIhmiRQ1SUaksvwY9U5MvPB0pcrg0QK0xapQkfITs3RKOA==} engines: {node: ^14.17.0 || >=16.0.0} peerDependencies: eslint: ^6.2.0 || ^7.0.0 || ^8.0.0 || ^9.0.0 @@ -11931,14 +11931,14 @@ packages: - supports-color dev: true - /vue-i18n@9.12.0(vue@3.4.21): - resolution: {integrity: sha512-rUxCKTws8NH3XP98W71GA7btAQdAuO7j6BC5y5s1bTNQYo/CIgZQf+p7d1Zo5bo/3v8TIq9aSUMDjpfgKsC3Uw==} + /vue-i18n@9.12.1(vue@3.4.21): + resolution: {integrity: sha512-cqkBt10YzxF3tNGA7/95VMfFdk8nEoguzB7K7R9rldiSnHyWeokq6GOWMThfK/siTr2lLfM9nqolD/er//t4Iw==} engines: {node: '>= 16'} peerDependencies: vue: ^3.0.0 dependencies: - '@intlify/core-base': 9.12.0 - '@intlify/shared': 9.12.0 + '@intlify/core-base': 9.12.1 + '@intlify/shared': 9.12.1 '@vue/devtools-api': 6.6.1 vue: 3.4.21(typescript@5.4.5) dev: false diff --git a/src/components/core/dynamic-table/src/components/table-settings/search-setting.vue b/src/components/core/dynamic-table/src/components/table-settings/search-setting.vue index ec85e7c69..569f1067a 100644 --- a/src/components/core/dynamic-table/src/components/table-settings/search-setting.vue +++ b/src/components/core/dynamic-table/src/components/table-settings/search-setting.vue @@ -1,5 +1,5 @@