!339 修复 vue3 部分问题

Merge pull request !339 from xingyu/dev
This commit is contained in:
芋道源码 2022-12-23 11:26:07 +00:00 committed by Gitee
commit 79f77e61ba
No known key found for this signature in database
GPG Key ID: 173E9B9CA92EEF8F
5 changed files with 26 additions and 25 deletions

View File

@ -116,12 +116,12 @@ public class DeptServiceImpl implements DeptService {
protected List<DeptDO> loadDeptIfUpdate(LocalDateTime maxUpdateTime) { protected List<DeptDO> loadDeptIfUpdate(LocalDateTime maxUpdateTime) {
// 第一步判断是否要更新 // 第一步判断是否要更新
if (maxUpdateTime == null) { // 如果更新时间为空说明 DB 一定有新数据 if (maxUpdateTime == null) { // 如果更新时间为空说明 DB 一定有新数据
log.info("[loadMenuIfUpdate][首次加载全量部门]"); log.info("[loadDeptIfUpdate][首次加载全量部门]");
} else { // 判断数据库中是否有更新的部门 } else { // 判断数据库中是否有更新的部门
if (deptMapper.selectCountByUpdateTimeGt(maxUpdateTime) == 0) { if (deptMapper.selectCountByUpdateTimeGt(maxUpdateTime) == 0) {
return null; return null;
} }
log.info("[loadMenuIfUpdate][增量加载全量部门]"); log.info("[loadDeptIfUpdate][增量加载全量部门]");
} }
// 第二步如果有更新则从数据库加载所有部门 // 第二步如果有更新则从数据库加载所有部门
return deptMapper.selectList(); return deptMapper.selectList();

View File

@ -1,6 +1,6 @@
{ {
"name": "yudao-ui-admin-vue3", "name": "yudao-ui-admin-vue3",
"version": "1.6.5.1878", "version": "1.6.5.1879",
"description": "基于vue3、vite4、element-plus、typesScript", "description": "基于vue3、vite4、element-plus、typesScript",
"author": "xingyu", "author": "xingyu",
"private": false, "private": false,
@ -57,7 +57,7 @@
"devDependencies": { "devDependencies": {
"@commitlint/cli": "^17.3.0", "@commitlint/cli": "^17.3.0",
"@commitlint/config-conventional": "^17.3.0", "@commitlint/config-conventional": "^17.3.0",
"@iconify/json": "^2.1.155", "@iconify/json": "^2.1.156",
"@intlify/unplugin-vue-i18n": "^0.8.1", "@intlify/unplugin-vue-i18n": "^0.8.1",
"@purge-icons/generated": "^0.9.0", "@purge-icons/generated": "^0.9.0",
"@types/intro.js": "^5.1.0", "@types/intro.js": "^5.1.0",
@ -84,7 +84,7 @@
"postcss-scss": "^4.0.6", "postcss-scss": "^4.0.6",
"prettier": "^2.8.1", "prettier": "^2.8.1",
"rimraf": "^3.0.2", "rimraf": "^3.0.2",
"rollup": "^3.8.0", "rollup": "^3.8.1",
"sass": "^1.57.1", "sass": "^1.57.1",
"stylelint": "^14.16.0", "stylelint": "^14.16.0",
"stylelint-config-html": "^1.1.0", "stylelint-config-html": "^1.1.0",

View File

@ -4,7 +4,7 @@ specifiers:
'@commitlint/cli': ^17.3.0 '@commitlint/cli': ^17.3.0
'@commitlint/config-conventional': ^17.3.0 '@commitlint/config-conventional': ^17.3.0
'@iconify/iconify': ^3.0.1 '@iconify/iconify': ^3.0.1
'@iconify/json': ^2.1.155 '@iconify/json': ^2.1.156
'@intlify/unplugin-vue-i18n': ^0.8.1 '@intlify/unplugin-vue-i18n': ^0.8.1
'@purge-icons/generated': ^0.9.0 '@purge-icons/generated': ^0.9.0
'@types/intro.js': ^5.1.0 '@types/intro.js': ^5.1.0
@ -51,7 +51,7 @@ specifiers:
qrcode: ^1.5.1 qrcode: ^1.5.1
qs: ^6.11.0 qs: ^6.11.0
rimraf: ^3.0.2 rimraf: ^3.0.2
rollup: ^3.8.0 rollup: ^3.8.1
sass: ^1.57.1 sass: ^1.57.1
stylelint: ^14.16.0 stylelint: ^14.16.0
stylelint-config-html: ^1.1.0 stylelint-config-html: ^1.1.0
@ -116,7 +116,7 @@ dependencies:
devDependencies: devDependencies:
'@commitlint/cli': 17.3.0 '@commitlint/cli': 17.3.0
'@commitlint/config-conventional': 17.3.0 '@commitlint/config-conventional': 17.3.0
'@iconify/json': 2.1.155 '@iconify/json': 2.1.156
'@intlify/unplugin-vue-i18n': 0.8.1_vue-i18n@9.2.2 '@intlify/unplugin-vue-i18n': 0.8.1_vue-i18n@9.2.2
'@purge-icons/generated': 0.9.0 '@purge-icons/generated': 0.9.0
'@types/intro.js': 5.1.0 '@types/intro.js': 5.1.0
@ -143,7 +143,7 @@ devDependencies:
postcss-scss: 4.0.6_postcss@8.4.20 postcss-scss: 4.0.6_postcss@8.4.20
prettier: 2.8.1 prettier: 2.8.1
rimraf: 3.0.2 rimraf: 3.0.2
rollup: 3.8.0 rollup: 3.8.1
sass: 1.57.1 sass: 1.57.1
stylelint: 14.16.0 stylelint: 14.16.0
stylelint-config-html: 1.1.0_bto6pmslw3cibsiuq6smxboytq stylelint-config-html: 1.1.0_bto6pmslw3cibsiuq6smxboytq
@ -631,8 +631,8 @@ packages:
dependencies: dependencies:
'@iconify/types': 2.0.0 '@iconify/types': 2.0.0
/@iconify/json/2.1.155: /@iconify/json/2.1.156:
resolution: {integrity: sha512-Zr0809RkIKB/0pX3jFfLX4TI8fv1aW6+FHXlfRiDhFKQSmhcs2x5xYhtxI5GUzl+9o6Le544uUCljmHBYJUFrA==} resolution: {integrity: sha512-QaLf/XSPRe6i35Z9WIRBxlWOLykDXNnEGYFf+9E+GWLmRqVQ2VNyTsEo6CNZqP5eGQRDPJyNhd+2vH+gbehGDg==}
dependencies: dependencies:
'@iconify/types': 2.0.0 '@iconify/types': 2.0.0
pathe: 0.3.9 pathe: 0.3.9
@ -653,8 +653,8 @@ packages:
vue-i18n: vue-i18n:
optional: true optional: true
dependencies: dependencies:
'@intlify/message-compiler': 9.3.0-beta.10 '@intlify/message-compiler': 9.3.0-beta.11
'@intlify/shared': 9.3.0-beta.10 '@intlify/shared': 9.3.0-beta.11
jsonc-eslint-parser: 1.4.1 jsonc-eslint-parser: 1.4.1
source-map: 0.6.1 source-map: 0.6.1
vue-i18n: 9.2.2_vue@3.2.45 vue-i18n: 9.2.2_vue@3.2.45
@ -683,11 +683,11 @@ packages:
'@intlify/shared': 9.2.2 '@intlify/shared': 9.2.2
source-map: 0.6.1 source-map: 0.6.1
/@intlify/message-compiler/9.3.0-beta.10: /@intlify/message-compiler/9.3.0-beta.11:
resolution: {integrity: sha512-RoOC6yceOykLRhN0NlbkNOBUx1el6iphx3W8NfOx3jHVNtfT1FYokx14/5sU3F1F0uxeG4sp6q+ppKvaF8o+ww==} resolution: {integrity: sha512-gGGfBGzM7JBXp1Q9gbDAy5jELz9ho3ILqnpxp2yp64+gkqohrqc2YXIvCdwZoc6AtKIh/Zmv4sWVqxkvMsBWtQ==}
engines: {node: '>= 14'} engines: {node: '>= 14'}
dependencies: dependencies:
'@intlify/shared': 9.3.0-beta.10 '@intlify/shared': 9.3.0-beta.11
source-map: 0.6.1 source-map: 0.6.1
dev: true dev: true
@ -695,8 +695,8 @@ packages:
resolution: {integrity: sha512-wRwTpsslgZS5HNyM7uDQYZtxnbI12aGiBZURX3BTR9RFIKKRWpllTsgzHWvj3HKm3Y2Sh5LPC1r0PDCKEhVn9Q==} resolution: {integrity: sha512-wRwTpsslgZS5HNyM7uDQYZtxnbI12aGiBZURX3BTR9RFIKKRWpllTsgzHWvj3HKm3Y2Sh5LPC1r0PDCKEhVn9Q==}
engines: {node: '>= 14'} engines: {node: '>= 14'}
/@intlify/shared/9.3.0-beta.10: /@intlify/shared/9.3.0-beta.11:
resolution: {integrity: sha512-h93uAanbAt/XgjDHclrVB7xix6r7Uz11wx0iGNOCdHP7aA2LCJjUT3uNbekJjjbo+Fl5jzTSJZdm2SexzoqhRA==} resolution: {integrity: sha512-CtbotesxTRiC3bRyXyv1NG39fkqJ790f8z8xFaeIXSZpOdiyxoh5BIyypCzSFQZDGLwz0Q9gyWbW1XpxQJm68Q==}
engines: {node: '>= 14'} engines: {node: '>= 14'}
dev: true dev: true
@ -716,7 +716,7 @@ packages:
optional: true optional: true
dependencies: dependencies:
'@intlify/bundle-utils': 3.4.0_vue-i18n@9.2.2 '@intlify/bundle-utils': 3.4.0_vue-i18n@9.2.2
'@intlify/shared': 9.3.0-beta.10 '@intlify/shared': 9.3.0-beta.11
'@rollup/pluginutils': 4.2.1 '@rollup/pluginutils': 4.2.1
'@vue/compiler-sfc': 3.2.45 '@vue/compiler-sfc': 3.2.45
debug: 4.3.4 debug: 4.3.4
@ -4555,8 +4555,8 @@ packages:
fsevents: 2.3.2 fsevents: 2.3.2
dev: true dev: true
/rollup/3.8.0: /rollup/3.8.1:
resolution: {integrity: sha512-+UR6PnUslneJNiJfLSzy4XH6R50ZGF0MS7UCv20ftXrktF/TkvZDwiBtXX65esblLR5p8w6LmXgPwt2f2B8SoQ==} resolution: {integrity: sha512-4yh9eMW7byOroYcN8DlF9P/2jCpu6txVIHjEqquQVSx7DI0RgyCCN3tjrcy4ra6yVtV336aLBB3v2AarYAxePQ==}
engines: {node: '>=14.18.0', npm: '>=8.0.0'} engines: {node: '>=14.18.0', npm: '>=8.0.0'}
hasBin: true hasBin: true
optionalDependencies: optionalDependencies:
@ -5465,7 +5465,7 @@ packages:
esbuild: 0.16.5 esbuild: 0.16.5
postcss: 8.4.20 postcss: 8.4.20
resolve: 1.22.1 resolve: 1.22.1
rollup: 3.8.0 rollup: 3.8.1
sass: 1.57.1 sass: 1.57.1
terser: 5.16.1 terser: 5.16.1
optionalDependencies: optionalDependencies:

View File

@ -161,7 +161,6 @@ $prefix-cls: #{$namespace}-menu;
// //
.#{$elNamespace}-sub-menu__title, .#{$elNamespace}-sub-menu__title,
.#{$elNamespace}-menu-item { .#{$elNamespace}-menu-item {
height: 59px;
&:hover { &:hover {
color: var(--left-menu-text-active-color) !important; color: var(--left-menu-text-active-color) !important;
background-color: var(--left-menu-bg-color) !important; background-color: var(--left-menu-bg-color) !important;
@ -171,7 +170,6 @@ $prefix-cls: #{$namespace}-menu;
// //
.#{$elNamespace}-sub-menu.is-active, .#{$elNamespace}-sub-menu.is-active,
.#{$elNamespace}-menu-item.is-active { .#{$elNamespace}-menu-item.is-active {
height: 59px;
color: var(--left-menu-text-active-color) !important; color: var(--left-menu-text-active-color) !important;
background-color: var(--left-menu-bg-active-color) !important; background-color: var(--left-menu-bg-active-color) !important;

View File

@ -56,7 +56,10 @@ watch(
import('./theme/light.scss') import('./theme/light.scss')
} }
}, },
{ deep: true } {
deep: true,
immediate: true
}
) )
// 全局默认参数 // 全局默认参数
VXETable.setup({ VXETable.setup({