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 @@