瀏覽代碼

fix: 线上遗留问题:订阅点击没有设置已读状态

Signed-off-by: tangshizhe <48740614+tangshizhe@users.noreply.github.com>
tangshizhe 1 年之前
父節點
當前提交
2f9f04ed62
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      apps/mobile/src/views/tabbar/Subscribe.vue

+ 1 - 1
apps/mobile/src/views/tabbar/Subscribe.vue

@@ -2021,7 +2021,7 @@ export default {
     },
     },
     // 设置标讯已读状态
     // 设置标讯已读状态
     async setSubReadStatus (item, callback) {
     async setSubReadStatus (item, callback) {
-      const { error_code: code } = await setUserSubscribeListVisited(vtMap[this.vSwitch], {
+      const { error_code: code } = await setUserSubscribeListVisited(this.restfulApiUserTypeWitchVSwitch, {
         vsid: item.ca_index,
         vsid: item.ca_index,
         isEnt: this.subscribeTypeActive === 'ent'
         isEnt: this.subscribeTypeActive === 'ent'
       })
       })