Commit a5287d7186056f863035bf2729f9b4160158063a
1 parent
028810b2
chore: update deps
Showing
6 changed files
with
15 additions
and
12 deletions
README.md
| @@ -223,7 +223,7 @@ ps:核心功能已经实现,正在对接微信小程序中... | @@ -223,7 +223,7 @@ ps:核心功能已经实现,正在对接微信小程序中... | ||
| 223 | |----------------------------------------------------------------------|-----------------|--------| | 223 | |----------------------------------------------------------------------|-----------------|--------| |
| 224 | | [Vue](https://staging-cn.vuejs.org/) | Vue 框架 | 3.2.45 | | 224 | | [Vue](https://staging-cn.vuejs.org/) | Vue 框架 | 3.2.45 | |
| 225 | | [Vite](https://cn.vitejs.dev//) | 开发与构建工具 | 3.2.3 | | 225 | | [Vite](https://cn.vitejs.dev//) | 开发与构建工具 | 3.2.3 | |
| 226 | -| [Element Plus](https://element-plus.org/zh-CN/) | Element Plus | 2.2.21 | | 226 | +| [Element Plus](https://element-plus.org/zh-CN/) | Element Plus | 2.2.22 | |
| 227 | | [TypeScript](https://www.typescriptlang.org/docs/) | TypeScript | 4.9.3 | | 227 | | [TypeScript](https://www.typescriptlang.org/docs/) | TypeScript | 4.9.3 | |
| 228 | | [pinia](https://pinia.vuejs.org/) | vuex5 | 2.0.25 | | 228 | | [pinia](https://pinia.vuejs.org/) | vuex5 | 2.0.25 | |
| 229 | | [vue-i18n](https://kazupon.github.io/vue-i18n/zh/introduction.html/) | 国际化 | 9.2.2 | | 229 | | [vue-i18n](https://kazupon.github.io/vue-i18n/zh/introduction.html/) | 国际化 | 9.2.2 | |
yudao-ui-admin-vue3/README.md
| 1 | <h1>🌈 yudao-ui-admin-vue3</h1> | 1 | <h1>🌈 yudao-ui-admin-vue3</h1> |
| 2 | + | ||
| 2 | <p align="center"> | 3 | <p align="center"> |
| 3 | <img src="https://img.shields.io/badge/-Vue3.2-34495e?logo=vue.j" /> | 4 | <img src="https://img.shields.io/badge/-Vue3.2-34495e?logo=vue.j" /> |
| 4 | <img src="https://img.shields.io/badge/-Vite3-646cff?logo=vite&logoColor=white" /> | 5 | <img src="https://img.shields.io/badge/-Vite3-646cff?logo=vite&logoColor=white" /> |
| @@ -11,6 +12,7 @@ | @@ -11,6 +12,7 @@ | ||
| 11 | <img src="https://img.shields.io/badge/-Less-1D365D?logo=less&logoColor=white" alt="Less"> | 12 | <img src="https://img.shields.io/badge/-Less-1D365D?logo=less&logoColor=white" alt="Less"> |
| 12 | <img src="https://img.shields.io/badge/-Wind%20CSS-06B6D4?logo=Tailwind%20CSS&logoColor=white" alt="Taiwind"> | 13 | <img src="https://img.shields.io/badge/-Wind%20CSS-06B6D4?logo=Tailwind%20CSS&logoColor=white" alt="Taiwind"> |
| 13 | </p> | 14 | </p> |
| 15 | + | ||
| 14 | ## 介绍 | 16 | ## 介绍 |
| 15 | 17 | ||
| 16 | - 基于 vue3.2+ ,TypeScript ,Element Plus 2.2.0+ ,Vite3 ,Pinia ,Windicss 等开发的后台管理系统 | 18 | - 基于 vue3.2+ ,TypeScript ,Element Plus 2.2.0+ ,Vite3 ,Pinia ,Windicss 等开发的后台管理系统 |
| @@ -29,7 +31,7 @@ | @@ -29,7 +31,7 @@ | ||
| 29 | | --- | --- |--------| | 31 | | --- | --- |--------| |
| 30 | | [Vue](https://staging-cn.vuejs.org/) | vue 框架 | 3.2.45 | | 32 | | [Vue](https://staging-cn.vuejs.org/) | vue 框架 | 3.2.45 | |
| 31 | | [Vite](https://cn.vitejs.dev//) | 开发与构建工具 | 3.2.3 | | 33 | | [Vite](https://cn.vitejs.dev//) | 开发与构建工具 | 3.2.3 | |
| 32 | -| [Element Plus](https://element-plus.org/zh-CN/) | Element Plus | 2.2.21 | | 34 | +| [Element Plus](https://element-plus.org/zh-CN/) | Element Plus | 2.2.22 | |
| 33 | | [TypeScript](https://www.typescriptlang.org/docs/) | JavaScript 的超集 | 4.9.3 | | 35 | | [TypeScript](https://www.typescriptlang.org/docs/) | JavaScript 的超集 | 4.9.3 | |
| 34 | | [pinia](https://pinia.vuejs.org/) | Vue 存储库 替代 vuex5 | 2.0.25 | | 36 | | [pinia](https://pinia.vuejs.org/) | Vue 存储库 替代 vuex5 | 2.0.25 | |
| 35 | | [vueuse](https://vueuse.org//) | 常用工具集 | 9.6.0 | | 37 | | [vueuse](https://vueuse.org//) | 常用工具集 | 9.6.0 | |
yudao-ui-admin-vue3/package.json
| @@ -36,7 +36,7 @@ | @@ -36,7 +36,7 @@ | ||
| 36 | "dayjs": "^1.11.6", | 36 | "dayjs": "^1.11.6", |
| 37 | "echarts": "^5.4.0", | 37 | "echarts": "^5.4.0", |
| 38 | "echarts-wordcloud": "^2.0.0", | 38 | "echarts-wordcloud": "^2.0.0", |
| 39 | - "element-plus": "2.2.21", | 39 | + "element-plus": "2.2.22", |
| 40 | "intro.js": "^6.0.0", | 40 | "intro.js": "^6.0.0", |
| 41 | "js-cookie": "^3.0.1", | 41 | "js-cookie": "^3.0.1", |
| 42 | "jsencrypt": "^3.3.1", | 42 | "jsencrypt": "^3.3.1", |
yudao-ui-admin-vue3/pnpm-lock.yaml
| @@ -28,7 +28,7 @@ specifiers: | @@ -28,7 +28,7 @@ specifiers: | ||
| 28 | dayjs: ^1.11.6 | 28 | dayjs: ^1.11.6 |
| 29 | echarts: ^5.4.0 | 29 | echarts: ^5.4.0 |
| 30 | echarts-wordcloud: ^2.0.0 | 30 | echarts-wordcloud: ^2.0.0 |
| 31 | - element-plus: 2.2.21 | 31 | + element-plus: 2.2.22 |
| 32 | eslint: ^8.28.0 | 32 | eslint: ^8.28.0 |
| 33 | eslint-config-prettier: ^8.5.0 | 33 | eslint-config-prettier: ^8.5.0 |
| 34 | eslint-define-config: ^1.12.0 | 34 | eslint-define-config: ^1.12.0 |
| @@ -92,7 +92,7 @@ dependencies: | @@ -92,7 +92,7 @@ dependencies: | ||
| 92 | dayjs: registry.npmmirror.com/dayjs/1.11.6 | 92 | dayjs: registry.npmmirror.com/dayjs/1.11.6 |
| 93 | echarts: registry.npmmirror.com/echarts/5.4.0 | 93 | echarts: registry.npmmirror.com/echarts/5.4.0 |
| 94 | echarts-wordcloud: registry.npmmirror.com/echarts-wordcloud/2.0.0_echarts@5.4.0 | 94 | echarts-wordcloud: registry.npmmirror.com/echarts-wordcloud/2.0.0_echarts@5.4.0 |
| 95 | - element-plus: registry.npmmirror.com/element-plus/2.2.21_vue@3.2.45 | 95 | + element-plus: registry.npmmirror.com/element-plus/2.2.22_vue@3.2.45 |
| 96 | intro.js: registry.npmmirror.com/intro.js/6.0.0 | 96 | intro.js: registry.npmmirror.com/intro.js/6.0.0 |
| 97 | js-cookie: registry.npmmirror.com/js-cookie/3.0.1 | 97 | js-cookie: registry.npmmirror.com/js-cookie/3.0.1 |
| 98 | jsencrypt: registry.npmmirror.com/jsencrypt/3.3.1 | 98 | jsencrypt: registry.npmmirror.com/jsencrypt/3.3.1 |
| @@ -3443,11 +3443,11 @@ packages: | @@ -3443,11 +3443,11 @@ packages: | ||
| 3443 | version: 1.4.284 | 3443 | version: 1.4.284 |
| 3444 | dev: true | 3444 | dev: true |
| 3445 | 3445 | ||
| 3446 | - registry.npmmirror.com/element-plus/2.2.21_vue@3.2.45: | ||
| 3447 | - resolution: {integrity: sha512-wZUePoXZ1zuCkzENK/8mn+mekuLJ9OoGYiudjUujzCf+T8HfOQl+TKQStwOkGBNk93fK8e9YdFIty4jH4AX6dg==, registry: https://registry.npm.taobao.org/, tarball: https://registry.npmmirror.com/element-plus/-/element-plus-2.2.21.tgz} | ||
| 3448 | - id: registry.npmmirror.com/element-plus/2.2.21 | 3446 | + registry.npmmirror.com/element-plus/2.2.22_vue@3.2.45: |
| 3447 | + resolution: {integrity: sha512-gg2g2WOMNpWf0wGesymUvTV0VZDF/4khQKroSNeCV/vWJ/cqssPYdtqfGxTiFRt/f+JpyFkV7O1mo0yzMCzrBg==, registry: https://registry.npm.taobao.org/, tarball: https://registry.npmmirror.com/element-plus/-/element-plus-2.2.22.tgz} | ||
| 3448 | + id: registry.npmmirror.com/element-plus/2.2.22 | ||
| 3449 | name: element-plus | 3449 | name: element-plus |
| 3450 | - version: 2.2.21 | 3450 | + version: 2.2.22 |
| 3451 | peerDependencies: | 3451 | peerDependencies: |
| 3452 | vue: ^3.2.0 | 3452 | vue: ^3.2.0 |
| 3453 | dependencies: | 3453 | dependencies: |
yudao-ui-admin-vue3/src/components/IFrame/src/IFrame.vue
| 1 | <script setup lang="ts"> | 1 | <script setup lang="ts"> |
| 2 | -import { propTypes } from '@/utils/propTypes' | ||
| 3 | import { ref, onMounted } from 'vue' | 2 | import { ref, onMounted } from 'vue' |
| 3 | +import { propTypes } from '@/utils/propTypes' | ||
| 4 | + | ||
| 4 | const props = defineProps({ | 5 | const props = defineProps({ |
| 5 | src: propTypes.string.def('') | 6 | src: propTypes.string.def('') |
| 6 | }) | 7 | }) |
yudao-ui-admin-vue3/src/components/TagsView/src/TagsView.vue
| @@ -137,7 +137,7 @@ const moveToCurrentTag = async () => { | @@ -137,7 +137,7 @@ const moveToCurrentTag = async () => { | ||
| 137 | const tagLinksRefs = useTemplateRefsList<RouterLinkProps>() | 137 | const tagLinksRefs = useTemplateRefsList<RouterLinkProps>() |
| 138 | 138 | ||
| 139 | const moveToTarget = (currentTag: RouteLocationNormalizedLoaded) => { | 139 | const moveToTarget = (currentTag: RouteLocationNormalizedLoaded) => { |
| 140 | - const wrap$ = unref(scrollbarRef)?.wrap$ | 140 | + const wrap$ = unref(scrollbarRef)?.wrapRef |
| 141 | let firstTag: Nullable<RouterLinkProps> = null | 141 | let firstTag: Nullable<RouterLinkProps> = null |
| 142 | let lastTag: Nullable<RouterLinkProps> = null | 142 | let lastTag: Nullable<RouterLinkProps> = null |
| 143 | 143 | ||
| @@ -233,7 +233,7 @@ const scroll = ({ scrollLeft }) => { | @@ -233,7 +233,7 @@ const scroll = ({ scrollLeft }) => { | ||
| 233 | 233 | ||
| 234 | // 移动到某个位置 | 234 | // 移动到某个位置 |
| 235 | const move = (to: number) => { | 235 | const move = (to: number) => { |
| 236 | - const wrap$ = unref(scrollbarRef)?.wrap$ | 236 | + const wrap$ = unref(scrollbarRef)?.wrapRef |
| 237 | const { start } = useScrollTo({ | 237 | const { start } = useScrollTo({ |
| 238 | el: wrap$!, | 238 | el: wrap$!, |
| 239 | position: 'scrollLeft', | 239 | position: 'scrollLeft', |