소스 검색

判断赋值错误

xiaohaizhao 1 년 전
부모
커밋
66b5fe63d9
1개의 변경된 파일2개의 추가작업 그리고 1개의 파일을 삭제
  1. 2 1
      packageA/affiche/index.vue

+ 2 - 1
packageA/affiche/index.vue

@@ -125,7 +125,8 @@ export default {
         },
         changeStatus() {
             this.activeStatus = this.activeStatus == '全部' ? '未读' : "全部";
-            this.content.where.isread == this.activeStatus == '全部' ? "" : 2;
+            this.content.where.isread = this.activeStatus == '全部' ? "" : 2;
+            console.log(this.content.where.isread)
             this.getList(true);
         },
         tabsChange(e) {