From 1269f11f339c09b3aba0ae992987cd943fa643d8 Mon Sep 17 00:00:00 2001 From: TS-QD1 Date: Sat, 6 May 2023 18:09:41 +0800 Subject: [PATCH] =?UTF-8?q?=E5=AE=8C=E5=96=84=E9=A1=B5=E9=9D=A2=E5=8A=9F?= =?UTF-8?q?=E8=83=BD?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- package-lock.json | 36 ++- package.json | 3 +- src/App.vue | 46 +++- src/components/table/Ddy.vue | 26 +- src/components/table/Wgy.vue | 45 ++-- src/components/table/Wgy3.vue | 138 +++++++++- src/components/table/ZfGa.vue | 17 +- src/components/table/Znbm.vue | 460 ++++++++++++++++++++++++++++++++++ src/main.js | 22 +- 9 files changed, 748 insertions(+), 45 deletions(-) create mode 100644 src/components/table/Znbm.vue diff --git a/package-lock.json b/package-lock.json index e42aff8..eefc519 100644 --- a/package-lock.json +++ b/package-lock.json @@ -14,7 +14,8 @@ "@vitejs/plugin-vue": "^4.1.0", "naive-ui": "^2.34.3", "stylus": "^0.59.0", - "vite": "^4.3.2" + "vite": "^4.3.2", + "vue-router": "^4.1.6" } }, "node_modules/@adobe/css-tools": { @@ -496,6 +497,12 @@ "@vue/shared": "3.2.47" } }, + "node_modules/@vue/devtools-api": { + "version": "6.5.0", + "resolved": "https://registry.npmmirror.com/@vue/devtools-api/-/devtools-api-6.5.0.tgz", + "integrity": "sha512-o9KfBeaBmCKl10usN4crU53fYtC1r7jJwdGKjPT24t348rHxgfpZ0xL3Xm/gLUYnc0oTp8LAmrxOeLyu6tbk2Q==", + "dev": true + }, "node_modules/@vue/reactivity": { "version": "3.2.47", "resolved": "https://registry.npmmirror.com/@vue/reactivity/-/reactivity-3.2.47.tgz", @@ -1028,6 +1035,18 @@ "@vue/shared": "3.2.47" } }, + "node_modules/vue-router": { + "version": "4.1.6", + "resolved": "https://registry.npmmirror.com/vue-router/-/vue-router-4.1.6.tgz", + "integrity": "sha512-DYWYwsG6xNPmLq/FmZn8Ip+qrhFEzA14EI12MsMgVxvHFDYvlr4NXpVF5hrRH1wVcDP8fGi5F4rxuJSl8/r+EQ==", + "dev": true, + "dependencies": { + "@vue/devtools-api": "^6.4.5" + }, + "peerDependencies": { + "vue": "^3.2.0" + } + }, "node_modules/vueuc": { "version": "0.4.51", "resolved": "https://registry.npmmirror.com/vueuc/-/vueuc-0.4.51.tgz", @@ -1319,6 +1338,12 @@ "@vue/shared": "3.2.47" } }, + "@vue/devtools-api": { + "version": "6.5.0", + "resolved": "https://registry.npmmirror.com/@vue/devtools-api/-/devtools-api-6.5.0.tgz", + "integrity": "sha512-o9KfBeaBmCKl10usN4crU53fYtC1r7jJwdGKjPT24t348rHxgfpZ0xL3Xm/gLUYnc0oTp8LAmrxOeLyu6tbk2Q==", + "dev": true + }, "@vue/reactivity": { "version": "3.2.47", "resolved": "https://registry.npmmirror.com/@vue/reactivity/-/reactivity-3.2.47.tgz", @@ -1736,6 +1761,15 @@ "@vue/shared": "3.2.47" } }, + "vue-router": { + "version": "4.1.6", + "resolved": "https://registry.npmmirror.com/vue-router/-/vue-router-4.1.6.tgz", + "integrity": "sha512-DYWYwsG6xNPmLq/FmZn8Ip+qrhFEzA14EI12MsMgVxvHFDYvlr4NXpVF5hrRH1wVcDP8fGi5F4rxuJSl8/r+EQ==", + "dev": true, + "requires": { + "@vue/devtools-api": "^6.4.5" + } + }, "vueuc": { "version": "0.4.51", "resolved": "https://registry.npmmirror.com/vueuc/-/vueuc-0.4.51.tgz", diff --git a/package.json b/package.json index 188c037..49eccf4 100644 --- a/package.json +++ b/package.json @@ -15,6 +15,7 @@ "@vitejs/plugin-vue": "^4.1.0", "naive-ui": "^2.34.3", "stylus": "^0.59.0", - "vite": "^4.3.2" + "vite": "^4.3.2", + "vue-router": "^4.1.6" } } diff --git a/src/App.vue b/src/App.vue index 3f5641d..7265d2e 100644 --- a/src/App.vue +++ b/src/App.vue @@ -1,18 +1,46 @@ diff --git a/src/components/table/Ddy.vue b/src/components/table/Ddy.vue index 4e57a3b..e5f61d3 100644 --- a/src/components/table/Ddy.vue +++ b/src/components/table/Ddy.vue @@ -1,5 +1,8 @@