Skip to content

Commit e489627

Browse files
committed
Merge branch 'master' of https://gitee.com/yudaocode/yudao-ui-admin-vue3 into dev
# Conflicts: # src/views/mall/trade/order/index.vue # src/views/member/user/detail/index.vue
2 parents 1be57ea + 2a58e3f commit e489627

File tree

74 files changed

+279
-280
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

74 files changed

+279
-280
lines changed

.eslintrc.js

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,8 @@ module.exports = defineConfig({
2222
'plugin:vue/vue3-recommended',
2323
'plugin:@typescript-eslint/recommended',
2424
'prettier',
25-
'plugin:prettier/recommended'
25+
'plugin:prettier/recommended',
26+
'@unocss'
2627
],
2728
rules: {
2829
'vue/script-setup-uses-vars': 'error',

.vscode/settings.json

Lines changed: 25 additions & 48 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,5 @@
11
{
22
"typescript.tsdk": "./node_modules/typescript/lib",
3-
"volar.tsPlugin": true,
4-
"volar.tsPluginStatus": false,
53
"npm.packageManager": "pnpm",
64
"editor.tabSize": 2,
75
"prettier.printWidth": 100, // 超过最大值换行
@@ -102,57 +100,35 @@
102100
"i18n-ally.displayLanguage": "zh-CN",
103101
"i18n-ally.enabledFrameworks": ["vue", "react"],
104102
"cSpell.words": [
105-
"xingyu",
106-
"yudao",
107-
"unocss",
103+
"brotli",
108104
"browserslist",
105+
"codemirror",
106+
"commitlint",
107+
"cropperjs",
108+
"echarts",
109109
"esnext",
110-
"unplugin",
111-
"qrcode",
112-
"sider",
110+
"esno",
111+
"iconify",
112+
"INTLIFY",
113+
"lintstagedrc",
114+
"logicflow",
115+
"nprogress",
113116
"pinia",
117+
"pnpm",
118+
"qrcode",
114119
"sider",
115-
"nprogress",
116-
"INTLIFY",
117-
"stylelint",
118-
"esno",
119-
"vitejs",
120120
"sortablejs",
121-
"codemirror",
122-
"iconify",
123-
"commitlint",
121+
"stylelint",
122+
"unocss",
123+
"unplugin",
124+
"unref",
124125
"videojs",
125-
"echarts",
126-
"wangeditor",
127-
"cropperjs",
128-
"logicflow",
126+
"vitejs",
129127
"vueuse",
130-
"zxcvbn",
131-
"lintstagedrc",
132-
"brotli",
133-
"sider",
134-
"pnpm"
135-
],
136-
"vetur.format.scriptInitialIndent": true,
137-
"vetur.format.styleInitialIndent": true,
138-
"vetur.validation.script": false,
139-
"MicroPython.executeButton": [
140-
{
141-
"text": "",
142-
"tooltip": "运行",
143-
"alignment": "left",
144-
"command": "extension.executeFile",
145-
"priority": 3.5
146-
}
147-
],
148-
"MicroPython.syncButton": [
149-
{
150-
"text": "$(sync)",
151-
"tooltip": "同步",
152-
"alignment": "left",
153-
"command": "extension.execute",
154-
"priority": 4
155-
}
128+
"wangeditor",
129+
"xingyu",
130+
"yudao",
131+
"zxcvbn"
156132
],
157133
// 控制相关文件嵌套展示
158134
"explorer.fileNesting.enabled": true,
@@ -161,7 +137,8 @@
161137
"*.ts": "$(capture).test.ts, $(capture).test.tsx",
162138
"*.tsx": "$(capture).test.ts, $(capture).test.tsx",
163139
"*.env": "$(capture).env.*",
164-
"package.json": "pnpm-lock.yaml,yarn.lock,LICENSE,README*,CHANGELOG*,CNAME,.gitattributes,.gitignore,prettier.config.js,stylelint.config.js,commitlint.config.js,.stylelintignore,.prettierignore,.gitpod.yml,.eslintrc.js,.eslintignore"
140+
"package.json": "pnpm-lock.yaml,yarn.lock,LICENSE,README*,CHANGELOG*,CNAME,.gitattributes,.eslintrc-auto-import.json,.gitignore,prettier.config.js,stylelint.config.js,commitlint.config.js,.stylelintignore,.prettierignore,.gitpod.yml,.eslintrc.js,.eslintignore"
165141
},
166-
"terminal.integrated.scrollback": 10000
142+
"terminal.integrated.scrollback": 10000,
143+
"nuxt.isNuxtApp": false
167144
}

README.md

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99

1010
## 🐶 新手必读
1111

12-
* nodejs > 16.0.0 && pnpm > 8.6.0 (强制使用pnpm)
12+
* nodejs > 16.18.0 && pnpm > 8.6.0 (强制使用pnpm)
1313
* 演示地址【Vue3 + element-plus】:<http://dashboard-vue3.yudao.iocoder.cn>
1414
* 演示地址【Vue3 + vben(ant-design-vue)】:<http://dashboard-vben.yudao.iocoder.cn>
1515
* 演示地址【Vue2 + element-ui】:<http://dashboard.yudao.iocoder.cn>
@@ -40,13 +40,13 @@
4040
|----------------------------------------------------------------------|------------------|--------|
4141
| [Vue](https://staging-cn.vuejs.org/) | Vue 框架 | 3.3.4 |
4242
| [Vite](https://cn.vitejs.dev//) | 开发与构建工具 | 4.4.9 |
43-
| [Element Plus](https://element-plus.org/zh-CN/) | Element Plus | 2.3.12 |
44-
| [TypeScript](https://www.typescriptlang.org/docs/) | JavaScript 的超集 | 5.1.6 |
43+
| [Element Plus](https://element-plus.org/zh-CN/) | Element Plus | 2.3.14 |
44+
| [TypeScript](https://www.typescriptlang.org/docs/) | JavaScript 的超集 | 5.2.2 |
4545
| [pinia](https://pinia.vuejs.org/) | Vue 存储库 替代 vuex5 | 2.1.6 |
4646
| [vueuse](https://vueuse.org/) | 常用工具集 | 10.4.1 |
47-
| [vue-i18n](https://kazupon.github.io/vue-i18n/zh/introduction.html/) | 国际化 | 9.2.2 |
48-
| [vue-router](https://router.vuejs.org/) | Vue 路由 | 4.2.4 |
49-
| [unocss](https://uno.antfu.me/) | 原子 css | 0.55.3 |
47+
| [vue-i18n](https://kazupon.github.io/vue-i18n/zh/introduction.html/) | 国际化 | 9.4.1 |
48+
| [vue-router](https://router.vuejs.org/) | Vue 路由 | 4.2.5 |
49+
| [unocss](https://uno.antfu.me/) | 原子 css | 0.56.1 |
5050
| [iconify](https://icon-sets.iconify.design/) | 在线图标库 | 3.1.1 |
5151
| [wangeditor](https://www.wangeditor.com/) | 富文本编辑器 | 5.1.23 |
5252

package.json

Lines changed: 39 additions & 38 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "yudao-ui-admin-vue3",
3-
"version": "1.8.0-snapshot",
3+
"version": "1.8.1-snapshot",
44
"description": "基于vue3、vite4、element-plus、typesScript",
55
"author": "xingyu",
66
"private": false,
@@ -22,32 +22,32 @@
2222
"clean:cache": "npx rimraf node_modules/.cache",
2323
"lint:eslint": "eslint --fix --ext .js,.ts,.vue ./src",
2424
"lint:format": "prettier --write --loglevel warn \"src/**/*.{js,ts,json,tsx,css,less,scss,vue,html,md}\"",
25-
"lint:style": "stylelint --fix \"**/*.{vue,less,postcss,css,scss}\" --cache --cache-location node_modules/.cache/stylelint/",
25+
"lint:style": "stylelint --fix \"./src/**/*.{vue,less,postcss,css,scss}\" --cache --cache-location node_modules/.cache/stylelint/",
2626
"lint:lint-staged": "lint-staged -c "
2727
},
2828
"dependencies": {
2929
"@element-plus/icons-vue": "^2.1.0",
30-
"@form-create/designer": "^3.1.0",
31-
"@form-create/element-ui": "^3.1.17",
30+
"@form-create/designer": "^3.1.3",
31+
"@form-create/element-ui": "^3.1.24",
3232
"@iconify/iconify": "^3.1.1",
3333
"@videojs-player/vue": "^1.0.0",
3434
"@vueuse/core": "^10.4.1",
3535
"@wangeditor/editor": "^5.1.23",
3636
"@wangeditor/editor-for-vue": "^5.1.10",
37-
"@zxcvbn-ts/core": "^3.0.3",
37+
"@zxcvbn-ts/core": "^3.0.4",
3838
"animate.css": "^4.1.1",
3939
"axios": "^1.5.0",
4040
"benz-amr-recorder": "^1.1.5",
4141
"bpmn-js-token-simulation": "^0.10.0",
4242
"camunda-bpmn-moddle": "^7.0.1",
43-
"cropperjs": "^1.6.0",
43+
"cropperjs": "^1.6.1",
4444
"crypto-js": "^4.1.1",
45-
"dayjs": "^1.11.9",
45+
"dayjs": "^1.11.10",
4646
"diagram-js": "^12.3.0",
4747
"echarts": "^5.4.3",
4848
"echarts-wordcloud": "^2.1.0",
49-
"element-plus": "2.3.12",
50-
"fast-xml-parser": "^4.2.7",
49+
"element-plus": "2.3.14",
50+
"fast-xml-parser": "^4.3.0",
5151
"highlight.js": "^11.8.0",
5252
"intro.js": "^7.2.0",
5353
"jsencrypt": "^3.3.2",
@@ -59,12 +59,12 @@
5959
"qrcode": "^1.5.3",
6060
"qs": "^6.11.2",
6161
"steady-xml": "^0.1.0",
62-
"url": "^0.11.1",
62+
"url": "^0.11.3",
6363
"video.js": "^7.21.5",
64-
"vue": "3.3.4",
64+
"vue": "^3.3.4",
6565
"vue-dompurify-html": "^4.1.4",
66-
"vue-i18n": "9.2.2",
67-
"vue-router": "^4.2.4",
66+
"vue-i18n": "^9.4.1",
67+
"vue-router": "^4.2.5",
6868
"vue-types": "^5.1.1",
6969
"vuedraggable": "^4.1.0",
7070
"web-storage-cache": "^1.1.1",
@@ -73,50 +73,51 @@
7373
"devDependencies": {
7474
"@commitlint/cli": "^17.7.1",
7575
"@commitlint/config-conventional": "^17.7.0",
76-
"@iconify/json": "^2.2.107",
77-
"@intlify/unplugin-vue-i18n": "^0.12.3",
76+
"@iconify/json": "^2.2.119",
77+
"@intlify/unplugin-vue-i18n": "^1.2.0",
7878
"@purge-icons/generated": "^0.9.0",
7979
"@types/intro.js": "^5.1.1",
80-
"@types/lodash-es": "^4.17.8",
81-
"@types/node": "^20.5.0",
80+
"@types/lodash-es": "^4.17.9",
81+
"@types/node": "^20.6.0",
8282
"@types/nprogress": "^0.2.0",
83-
"@types/qrcode": "^1.5.1",
84-
"@types/qs": "^6.9.7",
85-
"@typescript-eslint/eslint-plugin": "^6.4.1",
86-
"@typescript-eslint/parser": "^6.4.1",
87-
"@unocss/transformer-variant-group": "^0.55.3",
83+
"@types/qrcode": "^1.5.2",
84+
"@types/qs": "^6.9.8",
85+
"@typescript-eslint/eslint-plugin": "^6.7.2",
86+
"@typescript-eslint/parser": "^6.7.2",
87+
"@unocss/transformer-variant-group": "^0.56.1",
88+
"@unocss/eslint-config": "^0.56.1",
8889
"@vitejs/plugin-legacy": "^4.1.1",
89-
"@vitejs/plugin-vue": "^4.3.3",
90+
"@vitejs/plugin-vue": "^4.3.4",
9091
"@vitejs/plugin-vue-jsx": "^3.0.2",
91-
"@vue-macros/volar": "^0.14.2",
92-
"autoprefixer": "^10.4.15",
93-
"bpmn-js": "^8.9.0",
94-
"bpmn-js-properties-panel": "^0.46.0",
92+
"@vue-macros/volar": "^0.14.3",
93+
"autoprefixer": "^10.4.16",
94+
"bpmn-js": "8.9.0",
95+
"bpmn-js-properties-panel": "0.46.0",
9596
"consola": "^3.2.3",
96-
"eslint": "^8.48.0",
97+
"eslint": "^8.49.0",
9798
"eslint-config-prettier": "^9.0.0",
9899
"eslint-define-config": "^1.23.0",
99100
"eslint-plugin-prettier": "^5.0.0",
100101
"eslint-plugin-vue": "^9.17.0",
101102
"lint-staged": "^14.0.1",
102-
"postcss": "^8.4.28",
103+
"postcss": "^8.4.30",
103104
"postcss-html": "^1.5.0",
104-
"postcss-scss": "^4.0.7",
105-
"prettier": "^3.0.2",
105+
"postcss-scss": "^4.0.8",
106+
"prettier": "^3.0.3",
106107
"rimraf": "^5.0.1",
107-
"rollup": "^3.28.1",
108-
"sass": "^1.66.1",
108+
"rollup": "^3.29.2",
109+
"sass": "^1.68.0",
109110
"stylelint": "^15.10.3",
110111
"stylelint-config-html": "^1.1.0",
111112
"stylelint-config-recommended": "^13.0.0",
112113
"stylelint-config-standard": "^34.0.0",
113114
"stylelint-order": "^6.0.3",
114-
"terser": "^5.19.2",
115-
"typescript": "5.1.6",
116-
"unocss": "^0.55.3",
115+
"terser": "^5.20.0",
116+
"typescript": "5.2.2",
117+
"unocss": "^0.56.1",
117118
"unplugin-auto-import": "^0.16.6",
118119
"unplugin-element-plus": "^0.8.0",
119-
"unplugin-vue-components": "^0.25.1",
120+
"unplugin-vue-components": "^0.25.2",
120121
"vite": "4.4.9",
121122
"vite-plugin-compression": "^0.5.1",
122123
"vite-plugin-ejs": "^1.6.4",
@@ -126,7 +127,7 @@
126127
"vite-plugin-svg-icons": "^2.0.1",
127128
"vite-plugin-top-level-await": "^1.3.1",
128129
"vue-eslint-parser": "^9.3.1",
129-
"vue-tsc": "^1.8.8"
130+
"vue-tsc": "^1.8.13"
130131
},
131132
"license": "MIT",
132133
"repository": {

src/components/Card/src/CardTitle.vue

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -19,17 +19,18 @@ const { title } = defineProps({
1919
.card-title {
2020
font-size: 14px;
2121
font-weight: 600;
22+
2223
&::before {
23-
content: '';
24+
position: relative;
25+
top: 8px;
26+
left: -5px;
2427
display: inline-block;
2528
width: 3px;
2629
height: 14px;
2730
//background-color: #105cfb;
2831
background: var(--el-color-primary);
29-
position: relative;
30-
left: -5px;
31-
top: 8px;
3232
border-radius: 5px;
33+
content: '';
3334
transform: translateY(-50%);
3435
}
3536
}

src/components/Cropper/src/CropperAvatar.vue

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
<template>
22
<div class="user-info-head" @click="open()">
3-
<img v-if="sourceValue" :src="sourceValue" alt="avatar" class="img-circle img-lg" />
4-
<img v-if="!sourceValue" :src="avatar" alt="avatar" class="img-circle img-lg" />
3+
<el-avatar v-if="sourceValue" :src="sourceValue" alt="avatar" class="img-circle img-lg" />
4+
<el-avatar v-if="!sourceValue" :src="avatar" alt="avatar" class="img-circle img-lg" />
55
<el-button v-if="showBtn" :class="`${prefixCls}-upload-btn`" @click="open()">
66
{{ btnText ? btnText : t('cropper.selectImage') }}
77
</el-button>

src/components/Descriptions/src/DescriptionsItemLabel.vue

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,7 @@ const { label } = defineProps({
2222
.cell-item {
2323
display: inline;
2424
}
25+
2526
.cell-item::after {
2627
content: ':';
2728
}

src/components/Dialog/src/Dialog.vue

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -66,28 +66,27 @@ const dialogStyle = computed(() => {
6666
destroy-on-close
6767
lock-scroll
6868
draggable
69-
top="0"
7069
class="com-dialog"
7170
:show-close="false"
7271
>
7372
<template #header="{ close }">
74-
<div class="flex justify-between items-center h-54px pl-15px pr-15px relative">
73+
<div class="relative h-54px flex items-center justify-between pl-15px pr-15px">
7574
<slot name="title">
7675
{{ title }}
7776
</slot>
7877
<div
79-
class="h-54px flex justify-between items-center absolute top-[50%] right-15px translate-y-[-50%]"
78+
class="absolute right-15px top-[50%] h-54px flex translate-y-[-50%] items-center justify-between"
8079
>
8180
<Icon
8281
v-if="fullscreen"
83-
class="cursor-pointer is-hover mr-10px"
82+
class="is-hover mr-10px cursor-pointer"
8483
:icon="isFullscreen ? 'radix-icons:exit-full-screen' : 'radix-icons:enter-full-screen'"
8584
color="var(--el-color-info)"
8685
hover-color="var(--el-color-primary)"
8786
@click="toggleFull"
8887
/>
8988
<Icon
90-
class="cursor-pointer is-hover"
89+
class="is-hover cursor-pointer"
9190
icon="ep:close"
9291
hover-color="var(--el-color-primary)"
9392
color="var(--el-color-info)"

src/components/Editor/src/Editor.vue

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -180,12 +180,12 @@ defineExpose({
180180
</script>
181181

182182
<template>
183-
<div class="border-1 border-solid border-[var(--el-border-color)] z-99">
183+
<div class="z-99 border-1 border-[var(--el-border-color)] border-solid">
184184
<!-- 工具栏 -->
185185
<Toolbar
186186
:editor="editorRef"
187187
:editorId="editorId"
188-
class="border-0 b-b-1 border-solid border-[var(--el-border-color)]"
188+
class="border-0 b-b-1 border-[var(--el-border-color)] border-solid"
189189
/>
190190
<!-- 编辑器 -->
191191
<Editor

src/components/Form/src/Form.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -203,7 +203,7 @@ export default defineComponent({
203203
icon="ep:warning"
204204
size={16}
205205
color="var(--el-color-primary)"
206-
class="ml-2px relative top-1px"
206+
class="relative top-1px ml-2px"
207207
></Icon>
208208
)
209209
}}

0 commit comments

Comments
 (0)