修改升级接收方式
This commit is contained in:
@@ -59,7 +59,8 @@ const toRankListPage = () => {
|
||||
};
|
||||
|
||||
onShow(async () => {
|
||||
if (user.value.id) {
|
||||
const token = uni.getStorageSync("token");
|
||||
if (token) {
|
||||
const result = await getHomeData();
|
||||
updateRank(result);
|
||||
console.log("首页数据:", result);
|
||||
|
||||
Reference in New Issue
Block a user