diff --git a/root/bind/myMain.vue b/root/bind/myMain.vue index 8514ed4..bc6d84b 100644 --- a/root/bind/myMain.vue +++ b/root/bind/myMain.vue @@ -328,7 +328,7 @@ export default { return new Promise((resolve) => { var mycenter = 0; //文字左右居中显示 var myheight = 0; //文字高度 - var baseColor = this.agencyInfo.themeColor; //背景色 + var baseColor = this.agencyInfo.themeColor || '#52cd8d'; //背景色 const query = uni.createSelectorQuery().in(this); query .select("#canvasId")