From 3540e18e1f793d1c1a94628102776685de0a41a5 Mon Sep 17 00:00:00 2001 From: pengda <1111@qq.com> Date: Tue, 8 Jul 2025 15:27:33 +0800 Subject: [PATCH] =?UTF-8?q?=E6=9C=8D=E5=8A=A1=E8=AE=BE=E7=BD=AE=20?= =?UTF-8?q?=E9=A2=9C=E8=89=B2=E9=BB=98=E8=AE=A4=E5=80=BCbug=E4=BF=AE?= =?UTF-8?q?=E5=A4=8D?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/components/site/serviceSetting/menuColorSet.vue | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/src/components/site/serviceSetting/menuColorSet.vue b/src/components/site/serviceSetting/menuColorSet.vue index 1b39cb6..01655a2 100644 --- a/src/components/site/serviceSetting/menuColorSet.vue +++ b/src/components/site/serviceSetting/menuColorSet.vue @@ -127,10 +127,11 @@ export default { }, mounted() { this.info = JSON.parse(JSON.stringify(this.serviceInfo)) + console.log(this.info.color_info) if(this.info.color_info){ - this.themeColor = '#'+ this.info.color_info.link_btn_color - this.navColor = '#'+ this.info.color_info.selected_nav_bgcolor - this.tabColor = '#'+ this.info.color_info.link_btn_color + this.themeColor = this.info.color_info.link_btn_color ? '#'+ this.info.color_info.link_btn_color : "" + this.navColor = this.info.color_info.selected_nav_bgcolor ? '#'+ this.info.color_info.selected_nav_bgcolor : "" + this.tabColor = this.info.color_info.logo_bgcolor ? '#'+ this.info.color_info.logo_bgcolor : "" } }, methods: {