Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
啊嘞嘞EC
vue-vben-admin
提交
33b2365f
V
vue-vben-admin
项目概览
啊嘞嘞EC
/
vue-vben-admin
与 Fork 源项目一致
从无法访问的项目Fork
通知
1
Star
0
Fork
0
代码
文件
提交
分支
Tags
贡献者
分支图
Diff
Issue
0
列表
看板
标记
里程碑
合并请求
0
DevOps
流水线
流水线任务
计划
Wiki
0
Wiki
分析
仓库
DevOps
项目成员
Pages
V
vue-vben-admin
项目概览
项目概览
详情
发布
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
Issue
0
Issue
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
Pages
DevOps
DevOps
流水线
流水线任务
计划
分析
分析
仓库分析
DevOps
Wiki
0
Wiki
成员
成员
收起侧边栏
关闭侧边栏
动态
分支图
创建新Issue
流水线任务
提交
Issue看板
前往新版Gitcode,体验更适合开发者的 AI 搜索 >>
提交
33b2365f
编写于
2月 07, 2021
作者:
V
vben
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
fix: some color error
上级
23eba274
变更
8
隐藏空白更改
内联
并排
Showing
8 changed file
with
41 addition
and
47 deletion
+41
-47
CHANGELOG.zh_CN.md
CHANGELOG.zh_CN.md
+2
-1
build/config/themeConfig.ts
build/config/themeConfig.ts
+1
-3
package.json
package.json
+6
-6
src/App.vue
src/App.vue
+0
-1
src/components/Menu/src/BasicMenu.vue
src/components/Menu/src/BasicMenu.vue
+0
-3
src/components/SimpleMenu/src/components/menu.less
src/components/SimpleMenu/src/components/menu.less
+3
-3
vite.config.ts
vite.config.ts
+0
-1
yarn.lock
yarn.lock
+29
-29
未找到文件。
CHANGELOG.zh_CN.md
浏览文件 @
33b2365f
...
@@ -2,10 +2,11 @@
...
@@ -2,10 +2,11 @@
### 🐛 Bug Fixes
### 🐛 Bug Fixes
-
修复菜单在 hmr 时数据被置空
-
修复 Upload 组件 maxNumber 失效问题
-
修复 Upload 组件 maxNumber 失效问题
-
修复打包 sourcemap 报错
-
修复打包 sourcemap 报错
-
修复代码 debugger 位置显示错误
-
修复 mock 插件 post 请求错误问题
-
修复 mock 插件 post 请求错误问题
-
修复部分主题颜色值错误
### 🎫 Chores
### 🎫 Chores
...
...
build/config/themeConfig.ts
浏览文件 @
33b2365f
...
@@ -80,15 +80,13 @@ export function generateModifyVars() {
...
@@ -80,15 +80,13 @@ export function generateModifyVars() {
const
primaryColorObj
:
Record
<
string
,
string
>
=
{};
const
primaryColorObj
:
Record
<
string
,
string
>
=
{};
for
(
let
index
=
0
;
index
<
10
;
index
++
)
{
for
(
let
index
=
0
;
index
<
10
;
index
++
)
{
primaryColorObj
[
`primary-
${
index
}
`
]
=
palettes
[
index
];
primaryColorObj
[
`primary-
${
index
+
1
}
`
]
=
palettes
[
index
];
}
}
return
{
return
{
'
primary-color
'
:
primary
,
'
primary-color
'
:
primary
,
...
primaryColorObj
,
...
primaryColorObj
,
'
info-color
'
:
primary
,
'
info-color
'
:
primary
,
'
alert-info-bg-color
'
:
palettes
[
0
],
'
alert-info-border-color
'
:
palettes
[
2
],
'
processing-color
'
:
primary
,
'
processing-color
'
:
primary
,
'
success-color
'
:
'
#55D187
'
,
// Success color
'
success-color
'
:
'
#55D187
'
,
// Success color
'
error-color
'
:
'
#ED6F6F
'
,
// False color
'
error-color
'
:
'
#ED6F6F
'
,
// False color
...
...
package.json
浏览文件 @
33b2365f
...
@@ -21,7 +21,7 @@
...
@@ -21,7 +21,7 @@
},
},
"dependencies"
:
{
"dependencies"
:
{
"
@iconify/iconify
"
:
"
^2.0.0-rc.6
"
,
"
@iconify/iconify
"
:
"
^2.0.0-rc.6
"
,
"
@vueuse/core
"
:
"
^4.
0.12
"
,
"
@vueuse/core
"
:
"
^4.
1.0
"
,
"
ant-design-vue
"
:
"
2.0.0
"
,
"
ant-design-vue
"
:
"
2.0.0
"
,
"
apexcharts
"
:
"
^3.24.0
"
,
"
apexcharts
"
:
"
^3.24.0
"
,
"
axios
"
:
"
^0.21.1
"
,
"
axios
"
:
"
^0.21.1
"
,
...
@@ -95,12 +95,12 @@
...
@@ -95,12 +95,12 @@
"
typescript
"
:
"
^4.1.3
"
,
"
typescript
"
:
"
^4.1.3
"
,
"
vite
"
:
"
2.0.0-beta.65
"
,
"
vite
"
:
"
2.0.0-beta.65
"
,
"
vite-plugin-html
"
:
"
^2.0.0
"
,
"
vite-plugin-html
"
:
"
^2.0.0
"
,
"
vite-plugin-imagemin
"
:
"
^0.2.
2
"
,
"
vite-plugin-imagemin
"
:
"
^0.2.
4
"
,
"
vite-plugin-mock
"
:
"
^2.1.
1
"
,
"
vite-plugin-mock
"
:
"
^2.1.
2
"
,
"
vite-plugin-purge-icons
"
:
"
^0.6.0
"
,
"
vite-plugin-purge-icons
"
:
"
^0.6.0
"
,
"
vite-plugin-pwa
"
:
"
^0.4.
4
"
,
"
vite-plugin-pwa
"
:
"
^0.4.
6
"
,
"
vite-plugin-style-import
"
:
"
^0.7.
0
"
,
"
vite-plugin-style-import
"
:
"
^0.7.
1
"
,
"
vite-plugin-theme
"
:
"
^0.4.
0
"
,
"
vite-plugin-theme
"
:
"
^0.4.
1
"
,
"
vue-eslint-parser
"
:
"
^7.4.1
"
,
"
vue-eslint-parser
"
:
"
^7.4.1
"
,
"
yargs
"
:
"
^16.2.0
"
"
yargs
"
:
"
^16.2.0
"
},
},
...
...
src/App.vue
浏览文件 @
33b2365f
...
@@ -27,7 +27,6 @@
...
@@ -27,7 +27,6 @@
// Initialize vuex internal system configuration
// Initialize vuex internal system configuration
initAppConfigStore
();
initAppConfigStore
();
// Create a lock screen monitor
// Create a lock screen monitor
const
lockEvent
=
useLockPage
();
const
lockEvent
=
useLockPage
();
...
...
src/components/Menu/src/BasicMenu.vue
浏览文件 @
33b2365f
...
@@ -122,9 +122,6 @@
...
@@ -122,9 +122,6 @@
watch
(
watch
(
()
=>
props
.
items
,
()
=>
props
.
items
,
()
=>
{
()
=>
{
if
(
import
.
meta
.
hot
&&
props
.
items
.
length
===
0
)
{
return
;
}
handleMenuChange
();
handleMenuChange
();
}
}
);
);
...
...
src/components/SimpleMenu/src/components/menu.less
浏览文件 @
33b2365f
...
@@ -83,7 +83,7 @@
...
@@ -83,7 +83,7 @@
&-selected {
&-selected {
z-index: 2;
z-index: 2;
color: @primary-color;
color: @primary-color;
background: fade(@primary-color,
8
);
background: fade(@primary-color,
10
);
.light-border();
.light-border();
}
}
...
@@ -226,7 +226,7 @@
...
@@ -226,7 +226,7 @@
&-active:not(.@{menu-prefix-cls}-submenu) {
&-active:not(.@{menu-prefix-cls}-submenu) {
z-index: 2;
z-index: 2;
color: @primary-color;
color: @primary-color;
background: fade(@primary-color,
8
);
background: fade(@primary-color,
10
);
.light-border();
.light-border();
}
}
...
@@ -239,7 +239,7 @@
...
@@ -239,7 +239,7 @@
> li.@{menu-prefix-cls}-item-active,
> li.@{menu-prefix-cls}-item-active,
.@{menu-prefix-cls}-submenu-active {
.@{menu-prefix-cls}-submenu-active {
position: relative;
position: relative;
background: fade(@primary-color,
3
);
background: fade(@primary-color,
5
);
&::after {
&::after {
display: none;
display: none;
...
...
vite.config.ts
浏览文件 @
33b2365f
...
@@ -46,7 +46,6 @@ export default ({ command, mode }: ConfigEnv): UserConfig => {
...
@@ -46,7 +46,6 @@ export default ({ command, mode }: ConfigEnv): UserConfig => {
},
},
build
:
{
build
:
{
// sourcemap: true,
polyfillDynamicImport
:
VITE_LEGACY
,
polyfillDynamicImport
:
VITE_LEGACY
,
terserOptions
:
{
terserOptions
:
{
compress
:
{
compress
:
{
...
...
yarn.lock
浏览文件 @
33b2365f
...
@@ -2068,18 +2068,18 @@
...
@@ -2068,18 +2068,18 @@
vscode-languageserver-textdocument "^1.0.1"
vscode-languageserver-textdocument "^1.0.1"
vscode-uri "^2.1.2"
vscode-uri "^2.1.2"
"@vueuse/core@^4.
0.12
":
"@vueuse/core@^4.
1.0
":
version "4.
0.12
"
version "4.
1.0
"
resolved "https://registry.npmjs.org/@vueuse/core/-/core-4.
0.12.tgz#e6273feee1373c16d408b94be9382fa945c494a8
"
resolved "https://registry.npmjs.org/@vueuse/core/-/core-4.
1.0.tgz#041ea810403433d9156e3903a45fc9ad83106b15
"
integrity sha512-
0pAEWyUP6HAqJ6Qzbybfpa8fNVdERMizrgjQI8vRe8+Fu5Ge5a8M2aLYCrdrLNxV6DsEZJ0bUFeTWb3aUnbxU
A==
integrity sha512-
rcMceTJS6zDd5UOQr6bxhvqEsOitMNPlXAfTf0AJ9CaXs3ALAhtAyisGZCwZfHE5/Cid3Qy8bl3yWJwmrCOJS
A==
dependencies:
dependencies:
"@vueuse/shared" "4.
0.12
"
"@vueuse/shared" "4.
1.0
"
vue-demi latest
vue-demi latest
"@vueuse/shared@4.
0.12
":
"@vueuse/shared@4.
1.0
":
version "4.
0.12
"
version "4.
1.0
"
resolved "https://registry.npmjs.org/@vueuse/shared/-/shared-4.
0.12.tgz#fe42215a0cc60afcda2dcbfbdd73a4dd780647ec
"
resolved "https://registry.npmjs.org/@vueuse/shared/-/shared-4.
1.0.tgz#60d2a7b2d43173657816ae27dbb76d46dde480f4
"
integrity sha512-
t5Amxc3BIwi+M2mI0iy9yHKe5plYJUMbxpIBuMDR953J5s12ewRe3s8MLvQdlhAiNN8FTh9CBKU+mfdNgbWauw
==
integrity sha512-
E0g3MGu2RKLjPm6+EEsl93Q8+SDt1FDBnnzLz0iiUjpdo8KmHM6ivcGNe58B44/fNi9p+y0db53fubT0d/XJJQ
==
dependencies:
dependencies:
vue-demi latest
vue-demi latest
...
@@ -9192,10 +9192,10 @@ vite-plugin-html@^2.0.0:
...
@@ -9192,10 +9192,10 @@ vite-plugin-html@^2.0.0:
fs-extra "^9.1.0"
fs-extra "^9.1.0"
html-minifier-terser "^5.1.1"
html-minifier-terser "^5.1.1"
vite-plugin-imagemin@^0.2.
2
:
vite-plugin-imagemin@^0.2.
4
:
version "0.2.
2
"
version "0.2.
4
"
resolved "https://registry.npmjs.org/vite-plugin-imagemin/-/vite-plugin-imagemin-0.2.
2.tgz#e85c5956f787f1c636f40af449f1b064c919149f
"
resolved "https://registry.npmjs.org/vite-plugin-imagemin/-/vite-plugin-imagemin-0.2.
4.tgz#c44f7a39d84b8a0af8468b90505a147fd5297b67
"
integrity sha512-
bEf5kznbWFo7wxaJ0G9e0WQ4/Ce6FtNxwoMt2w+9SoIxPAraP/etQ/L+rnLuuiKwl2L22YrPoS2hWa4XxMK5Rw
==
integrity sha512-
7VQwm2mip/JNp0oTqVOLZ+eo7ijZT5wP3AZF3PwJErZ48iT02PcDbC1Ij00Q2zoFPbtMkAuEbcLh1vK5C1m+pQ
==
dependencies:
dependencies:
"@types/imagemin" "^7.0.0"
"@types/imagemin" "^7.0.0"
"@types/imagemin-gifsicle" "^7.0.0"
"@types/imagemin-gifsicle" "^7.0.0"
...
@@ -9214,10 +9214,10 @@ vite-plugin-imagemin@^0.2.2:
...
@@ -9214,10 +9214,10 @@ vite-plugin-imagemin@^0.2.2:
imagemin-svgo "^8.0.0"
imagemin-svgo "^8.0.0"
imagemin-webp "^6.0.0"
imagemin-webp "^6.0.0"
vite-plugin-mock@^2.1.
1
:
vite-plugin-mock@^2.1.
2
:
version "2.1.
1
"
version "2.1.
2
"
resolved "https://registry.npmjs.org/vite-plugin-mock/-/vite-plugin-mock-2.1.
1.tgz#162f1ca93bed22c3f371997b394228e67e156fee
"
resolved "https://registry.npmjs.org/vite-plugin-mock/-/vite-plugin-mock-2.1.
2.tgz#a66d65947d565862395a0a181cb210b0076db9cc
"
integrity sha512-
FFgKA9dNBmaodWSRxsKU5s7Ls9gtSCBvnEDZ6R9bTgswkv4yTTvpbFb3Vh2bKdfJgv9fTU1A33vTcfz0EgLCM
g==
integrity sha512-
b/YoQyBQhuyXOm/30bfVOKKBD7N50nw/5xTyyIXOTsry8LOPa5AZR9/2s2zPTioMeb63Ey4vga6CG8E2Tj8XV
g==
dependencies:
dependencies:
"@rollup/plugin-node-resolve" "^11.1.1"
"@rollup/plugin-node-resolve" "^11.1.1"
"@types/mockjs" "^1.0.3"
"@types/mockjs" "^1.0.3"
...
@@ -9241,30 +9241,30 @@ vite-plugin-purge-icons@^0.6.0:
...
@@ -9241,30 +9241,30 @@ vite-plugin-purge-icons@^0.6.0:
"@purge-icons/generated" "^0.6.0"
"@purge-icons/generated" "^0.6.0"
rollup-plugin-purge-icons "^0.6.0"
rollup-plugin-purge-icons "^0.6.0"
vite-plugin-pwa@^0.4.
4
:
vite-plugin-pwa@^0.4.
6
:
version "0.4.
4
"
version "0.4.
6
"
resolved "https://registry.npmjs.org/vite-plugin-pwa/-/vite-plugin-pwa-0.4.
4.tgz#58624cd049aa0ca30b84523e9f24e6f1a435d7b1
"
resolved "https://registry.npmjs.org/vite-plugin-pwa/-/vite-plugin-pwa-0.4.
6.tgz#e759b7840211f83cae367d306654da505cecbceb
"
integrity sha512-
GboCS5XJYHtCYjmU2XU0C8VTccYstJOX8m2Qy1izoUA5YendhjQRByjj9EYTgvh+ImsoXW6gHkMK2eR+AsCFDg
==
integrity sha512-
3LonumSG4EcH9FT61d7wWouHkCmEciy3RPfvt25b835HMx9gb2Dt71t140+85Z5d+uANMSguC3miBnnGzagAMA
==
dependencies:
dependencies:
debug "^4.3.2"
debug "^4.3.2"
fast-glob "^3.2.5"
fast-glob "^3.2.5"
pretty-bytes "^5.5.0"
pretty-bytes "^5.5.0"
workbox-build "^6.1.0"
workbox-build "^6.1.0"
vite-plugin-style-import@^0.7.
0
:
vite-plugin-style-import@^0.7.
1
:
version "0.7.
0
"
version "0.7.
1
"
resolved "https://registry.npmjs.org/vite-plugin-style-import/-/vite-plugin-style-import-0.7.
0.tgz#fbaa5444cad1efbc52fae533f1584d5f75a3ae06
"
resolved "https://registry.npmjs.org/vite-plugin-style-import/-/vite-plugin-style-import-0.7.
1.tgz#f55949f6821937a7027c4afa8f6ce4c0b6ef9609
"
integrity sha512-
VOx2vXGja4fpJgmFhP3oJzRp5BPDzU3zOvLHNjILVadQP3UfZYXUAR6UxmbrR8I+3PjnrDDMrOdDzsVwplL7a
Q==
integrity sha512-
Nr2PH8i8i9GIQhQRkipwYTYKur+/1mkCrMi4sXbMLcoUsz7wq7uZ1c3XcXA8B0Au3lZm+AKN3KiUrDD4Evx9E
Q==
dependencies:
dependencies:
"@rollup/pluginutils" "^4.1.0"
"@rollup/pluginutils" "^4.1.0"
change-case "^4.1.2"
change-case "^4.1.2"
es-module-lexer "^0.3.26"
es-module-lexer "^0.3.26"
magic-string "^0.25.7"
magic-string "^0.25.7"
vite-plugin-theme@^0.4.
0
:
vite-plugin-theme@^0.4.
1
:
version "0.4.
0
"
version "0.4.
1
"
resolved "https://registry.npmjs.org/vite-plugin-theme/-/vite-plugin-theme-0.4.
0.tgz#4fcee86e775ef181771698bc07f1467cd5aac3c0
"
resolved "https://registry.npmjs.org/vite-plugin-theme/-/vite-plugin-theme-0.4.
1.tgz#02157947d1954ef59e3747e1b4f7d002b6b3f7cd
"
integrity sha512-
TB2urU0YmDmbrSjRcb+JoRds95aoi7nocxbxie3dFbvKRu3qicpUvCWGqIu5//EcvMLUzBvvu+KdvUb9omy6mw
==
integrity sha512-
ap0NpgBAKOdKQD1zW5P56sYPTJc6DO9FtXsrnOjXtxQ2gb2qKuRAnVV5+UFuO/Mgjh2QyuN9AnT5ANwGTjl0og
==
dependencies:
dependencies:
"@types/tinycolor2" "^1.4.2"
"@types/tinycolor2" "^1.4.2"
clean-css "^4.2.3"
clean-css "^4.2.3"
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录