Browse Source

fix: 网站icon逻辑补充遗漏.

peter 1 month ago
parent
commit
4b6bb73c11
1 changed files with 4 additions and 0 deletions
  1. 4 0
      src/views/shop/shop-manage/site/au.vue

+ 4 - 0
src/views/shop/shop-manage/site/au.vue

@@ -193,6 +193,10 @@ export default {
                 ? i.logo
                 : import.meta.env.VITE_APP_OSS_PREFIX +
                   (/^\/.+/.test(i.logo) ? i.logo : `/${i.logo}`),
+              logo_icon: this.$mediaRegExp.test(i.logo_icon)
+                ? i.logo_icon
+                : import.meta.env.VITE_APP_OSS_PREFIX +
+                  (/^\/.+/.test(i.logo_icon) ? i.logo_icon : `/${i.logo_icon}`),
             }
           })
           this.total = response.result.total