Explorar el Código

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

zhujindu hace 10 meses
padre
commit
439d450885
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  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 {