Explorar o código

判断赋值错误

xiaohaizhao hai 1 ano
pai
achega
66b5fe63d9
Modificáronse 1 ficheiros con 2 adicións e 1 borrados
  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) {