ソースを参照

首页-提示类-家装、工装不展示判断优化

zhujindu 10 ヶ月 前
コミット
439d450885
1 ファイル変更1 行追加1 行削除
  1. 1 1
      src/views/home/index.vue

+ 1 - 1
src/views/home/index.vue

@@ -86,7 +86,7 @@ export default {
     async getDict(isRefresh) {
       let postType = this.userInfo.postType;
       // postType:人员类型,JZ(家装)、GZ(公装)、YF(应服)、DIY(DIY)
-      if (postType == 'JZ' || 'GZ') {
+      if (postType == 'JZ' || postType == 'GZ') {
         localStorage.setItem('isGZorJZ', 'true');
         this.isGZorJZ = 'true';
       } else {