Browse Source

判断赋值错误

xiaohaizhao 1 năm trước cách đây
mục cha
commit
66b5fe63d9
1 tập tin đã thay đổi với 2 bổ sung1 xóa
  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) {