Quellcode durchsuchen

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

zhujindu vor 10 Monaten
Ursprung
Commit
439d450885
1 geänderte Dateien mit 1 neuen und 1 gelöschten Zeilen
  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 {