diff --git a/CHANGELOG.md b/CHANGELOG.md index 7592257..9705e47 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -2,6 +2,16 @@ 🎉🎉🔥 `vue-next-admin` 基于 vue3.x 、Typescript、vite、Element plus 等,适配手机、平板、pc 的后台开源免费模板库(vue2.x 请切换 vue-prev-admin 分支) +## 2.0.1 + +`2022.02.25` + +- 🌟 更新 依赖更新最新版本 +- 🎯 优化 svgIcon 图标组件 +- 🎯 优化 vite.config.ts 打包,感谢群友@YourObjec +- 🐞 修复 tagViews 开启图标不显示问题(风格 5),感谢群友@坏人 +- 🐞 修复 [Element Plus 1.2.0-beta.6 以后的版本 el-table 在移动端无法左右滑动](https://gitee.com/lyt-top/vue-next-admin/issues/I4UPTP),感谢@YGDada + ## 2.0.0 `2022.02.21` diff --git a/package.json b/package.json index 04bb5c8..c1ac21a 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "vue-next-admin", - "version": "2.0.0", + "version": "2.0.1", "description": "vue3 vite next admin template", "author": "lyt_20201208", "license": "MIT", @@ -17,7 +17,7 @@ "echarts": "^5.3.0", "echarts-gl": "^2.0.8", "echarts-wordcloud": "^2.0.0", - "element-plus": "^2.0.2", + "element-plus": "^2.0.3", "jsplumb": "^2.15.6", "mitt": "^3.0.0", "nprogress": "^0.2.0", @@ -25,32 +25,32 @@ "qrcodejs2-fixes": "^0.0.2", "screenfull": "^6.0.1", "sortablejs": "^1.14.0", - "splitpanes": "^3.0.6", + "splitpanes": "^3.1.1", "vue": "^3.2.31", "vue-clipboard3": "^1.0.1", "vue-grid-layout": "^3.0.0-beta1", "vue-i18n": "^9.1.9", "vue-router": "^4.0.12", "vuex": "^4.0.2", - "wangeditor": "^4.7.11" + "wangeditor": "^4.7.12" }, "devDependencies": { - "@types/node": "^17.0.19", + "@types/node": "^17.0.21", "@types/nprogress": "^0.2.0", "@types/sortablejs": "^1.10.7", - "@typescript-eslint/eslint-plugin": "^5.12.0", - "@typescript-eslint/parser": "^5.12.0", + "@typescript-eslint/eslint-plugin": "^5.12.1", + "@typescript-eslint/parser": "^5.12.1", "@vitejs/plugin-vue": "^2.2.2", "@vue/compiler-sfc": "^3.2.31", "dotenv": "^16.0.0", "eslint": "^8.9.0", - "eslint-plugin-vue": "^8.4.1", + "eslint-plugin-vue": "^8.5.0", "prettier": "^2.5.1", - "sass": "^1.49.8", + "sass": "^1.49.9", "sass-loader": "^12.6.0", "typescript": "^4.5.5", "vite": "^2.8.4", - "vue-eslint-parser": "^8.2.0" + "vue-eslint-parser": "^8.3.0" }, "browserslist": [ "> 1%", diff --git a/src/components/svgIcon/index.vue b/src/components/svgIcon/index.vue index b370ee8..9b1aec9 100644 --- a/src/components/svgIcon/index.vue +++ b/src/components/svgIcon/index.vue @@ -28,7 +28,7 @@ export default { }, setup(props: SvgIconProps) { // 定义变量 - const linesString: string[] = ['https', 'http', '/src', '/assets']; + const linesString: any[] = ['https', 'http', '/src', '/assets', import.meta.env.VITE_PUBLIC_PATH]; const onLineStyle: string = `font-size: ${props.size}px;color: ${props.color}`; const localsStyle: string = `width: ${props.size}px;height: ${props.size}px`; diff --git a/src/layout/navBars/tagsView/tagsView.vue b/src/layout/navBars/tagsView/tagsView.vue index 49770ad..68aff25 100644 --- a/src/layout/navBars/tagsView/tagsView.vue +++ b/src/layout/navBars/tagsView/tagsView.vue @@ -16,8 +16,8 @@ } " > - - + + {{ $t(v.meta.title) }}