Sfoglia il codice sorgente

fix: 修复外部提交引入的语法错误,恢复小程序构建

- cart.vue: 删除重复的 import config(cda0a0b9 引入)
- articles.vue: onSearchBlur 补齐闭合花括号、移除多余 }(e327a0ef 引入)
Xiaogang Liao 1 mese fa
parent
commit
467126a206

+ 2 - 2
cfc-frontend/pages/mind-extra/articles.vue

@@ -332,14 +332,14 @@ export default {
     },
     onSearchBlur: function() {
       if (!this.searchKeyword) {
-      this.searchFocused = false
+        this.searchFocused = false
+      }
     },
     getImageUrl: function(path) {
       return config.API_BASE_URL + path
     }
   }
 }
-}
 </script>
 
 <style scoped>

+ 0 - 1
cfc-frontend/pages/shop/cart/cart.vue

@@ -85,7 +85,6 @@
 
 <script>
 import config from '@/config.js'
-import config from '@/config.js'
 import { getMyMembership } from '@/utils/api.js'
 
 export default {