浏览代码

判断赋值错误

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) {