浏览代码

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

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 {