Commit 0b1abc80 by 李嘉林

feat: 加判断

parent 2dcb6133
...@@ -68,7 +68,11 @@ export default { ...@@ -68,7 +68,11 @@ export default {
}, },
methods: { methods: {
setStoreAddrColor(imgRgb) { setStoreAddrColor(imgRgb) {
this.imgRgb = imgRgb; if (imgRgb != 'undefined' && imgRgb != 'null' && imgRgb != '' && imgRgb != null && imgRgb != undefined) {
this.imgRgb = imgRgb;
} else {
this.imgRgb = '#000000';
}
}, },
reloadName() { reloadName() {
let { offlineShopName } = getStoreInfo(); let { offlineShopName } = getStoreInfo();
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment