Преглед на файлове

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

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 {