feat: v1.12.4

This commit is contained in:
xugaoyi 2022-06-23 17:04:33 +08:00
parent 6a400169ca
commit 07eefcca83
3 changed files with 3 additions and 3 deletions

View File

@ -24,7 +24,7 @@
"vuepress-plugin-one-click-copy": "^1.0.2", "vuepress-plugin-one-click-copy": "^1.0.2",
"vuepress-plugin-thirdparty-search": "^1.0.2", "vuepress-plugin-thirdparty-search": "^1.0.2",
"vuepress-plugin-zooming": "^1.1.7", "vuepress-plugin-zooming": "^1.1.7",
"vuepress-theme-vdoing": "^1.12.3", "vuepress-theme-vdoing": "^1.12.4",
"yamljs": "^0.3.0" "yamljs": "^0.3.0"
} }
} }

View File

@ -224,7 +224,7 @@ export default {
} else { } else {
return 'background: var(--mainBg);color: var(--textColor)' return 'background: var(--mainBg);color: var(--textColor)'
} }
} else if (bannerBg.indexOf('background') > -1) { // } else if (bannerBg.indexOf('background:') > -1) { //
return bannerBg return bannerBg
} else if (bannerBg.indexOf('.') > -1) { // } else if (bannerBg.indexOf('.') > -1) { //
return `background: url(${this.$withBase(bannerBg)}) center center / cover no-repeat` return `background: url(${this.$withBase(bannerBg)}) center center / cover no-repeat`

View File

@ -1,6 +1,6 @@
{ {
"name": "vuepress-theme-vdoing", "name": "vuepress-theme-vdoing",
"version": "1.12.3", "version": "1.12.4",
"description": "Vdoing theme for VuePress. 一个基于VuePress的知识管理兼博客主题。", "description": "Vdoing theme for VuePress. 一个基于VuePress的知识管理兼博客主题。",
"author": { "author": {
"name": "gaoyi(Evan) Xu" "name": "gaoyi(Evan) Xu"