diff --git a/package.json b/package.json index 73b700e3c..421249ef7 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "vue3-antd-admin", - "version": "1.0.1", + "version": "1.1.0", "author": { "name": "buqiyuan", "email": "1743369777@qq.com", @@ -35,7 +35,7 @@ "dependencies": { "@ant-design/icons-vue": "~6.1.0", "@vueuse/core": "~9.1.1", - "ant-design-vue": "3.2.11", + "ant-design-vue": "3.2.12", "axios": "~0.27.2", "core-js": "~3.25.0", "dayjs": "~1.11.5", @@ -50,7 +50,7 @@ "sortablejs": "~1.15.0", "vue": "3.2.38", "vue-i18n": "9.2.2", - "vue-router": "~4.0.16", + "vue-router": "~4.1.5", "vue-types": "~4.2.1", "xlsx": "~0.18.5" }, diff --git a/src/router/staticModules/error.ts b/src/router/staticModules/error.ts index a3d205576..72eb5ee22 100644 --- a/src/router/staticModules/error.ts +++ b/src/router/staticModules/error.ts @@ -14,6 +14,7 @@ export const notFound: RouteRecordRaw = { }, redirect: '/error/404', component: () => import(/* webpackChunkName: "404" */ '@/views/error/404.vue'), + children: [], }; export const errorRoute: RouteRecordRaw = { diff --git a/src/views/demos/form/basic-form/form-schema.tsx b/src/views/demos/form/basic-form/form-schema.tsx index 3404991b0..5fdf2b19c 100644 --- a/src/views/demos/form/basic-form/form-schema.tsx +++ b/src/views/demos/form/basic-form/form-schema.tsx @@ -282,7 +282,7 @@ export const schemas: FormSchema[] = [ colProps: { span: 8, }, - defaultValue: 1, + defaultValue: '1', }, { field: 'field31', diff --git a/yarn.lock b/yarn.lock index 5ec8e8205..45caa674c 100644 --- a/yarn.lock +++ b/yarn.lock @@ -2174,7 +2174,7 @@ optionalDependencies: prettier "^1.18.2 || ^2.0.0" -"@vue/devtools-api@^6.0.0", "@vue/devtools-api@^6.2.1": +"@vue/devtools-api@^6.1.4", "@vue/devtools-api@^6.2.1": version "6.2.1" resolved "https://registry.npmmirror.com/@vue/devtools-api/-/devtools-api-6.2.1.tgz#6f2948ff002ec46df01420dfeff91de16c5b4092" integrity sha512-OEgAMeQXvCoJ+1x8WyQuVZzFo0wcyCmUR3baRVLmKBo1LmYZWMlRiXlux5jd0fqVJu6PfDbOrZItVqUEzLobeQ== @@ -2614,10 +2614,10 @@ ansi-styles@^6.0.0: resolved "https://registry.npmmirror.com/ansi-styles/-/ansi-styles-6.1.0.tgz#87313c102b8118abd57371afab34618bf7350ed3" integrity sha512-VbqNsoz55SYGczauuup0MFUyXNQviSpFTj1RQtFzmQLk18qbVSpTFFGMT293rmDaQuKCT6InmbuEyUne4mTuxQ== -ant-design-vue@3.2.11: - version "3.2.11" - resolved "https://registry.npmmirror.com/ant-design-vue/-/ant-design-vue-3.2.11.tgz#034b2a2adef82a34440c10b90a5e02bcd25b376b" - integrity sha512-QKCAcOY5EJF0PepiVGA4X5PzUetYUvG5qALmA+2TON40pc2+brOEiVTwr3kjF9N+f7q4MpyiLPu4pIErwoajOQ== +ant-design-vue@3.2.12: + version "3.2.12" + resolved "https://registry.npmmirror.com/ant-design-vue/-/ant-design-vue-3.2.12.tgz#996361982884b1d0d82186dba67962983bc1fbac" + integrity sha512-CPsoWJ3t+sqq/EPINPXb4fC5/9iKkUdYOfK9M9kLKbXlRN3MAoVwWUbaFnUqc+ngtbEpn/d69hTF/Eh7MeWMhQ== dependencies: "@ant-design/colors" "^6.0.0" "@ant-design/icons-vue" "^6.1.0" @@ -9281,12 +9281,12 @@ vue-loader@^17.0.0: hash-sum "^2.0.0" loader-utils "^2.0.0" -vue-router@~4.0.16: - version "4.0.16" - resolved "https://registry.npmmirror.com/vue-router/-/vue-router-4.0.16.tgz#9477beeeef36e80e04d041a1738801a55e6e862e" - integrity sha512-JcO7cb8QJLBWE+DfxGUL3xUDOae/8nhM1KVdnudadTAORbuxIC/xAydC5Zr/VLHUDQi1ppuTF5/rjBGzgzrJNA== +vue-router@~4.1.5: + version "4.1.5" + resolved "https://registry.npmmirror.com/vue-router/-/vue-router-4.1.5.tgz#256f597e3f5a281a23352a6193aa6e342c8d9f9a" + integrity sha512-IsvoF5D2GQ/EGTs/Th4NQms9gd2NSqV+yylxIyp/OYp8xOwxmU8Kj/74E9DTSYAyH5LX7idVUngN3JSj1X4xcQ== dependencies: - "@vue/devtools-api" "^6.0.0" + "@vue/devtools-api" "^6.1.4" vue-style-loader@^4.1.0, vue-style-loader@^4.1.3: version "4.1.3"