🐛 关注用户、粉丝 tab 切换触发错误请求问题修复

This commit is contained in:
ronger 2022-05-31 09:53:57 +08:00
parent dc362ed729
commit 3440601a3b

View File

@ -154,13 +154,13 @@ export default {
}) })
break; break;
case "2": case "2":
_ts.$store.dispatch('user/fetchFollowerList', { _ts.$store.dispatch('user/fetchFollowingList', {
account: _ts.$route.params.account, account: _ts.$route.params.account,
page: _ts.$route.query.page || 1 page: _ts.$route.query.page || 1
}) })
break; break;
default: default:
_ts.$store.dispatch('user/fetchFollowingList', { _ts.$store.dispatch('user/fetchFollowerList', {
account: _ts.$route.params.account, account: _ts.$route.params.account,
page: _ts.$route.query.page || 1 page: _ts.$route.query.page || 1
}) })