优化返回游戏的数据更新
This commit is contained in:
@@ -296,6 +296,7 @@ export const isGamingAPI = async () => {
|
||||
};
|
||||
|
||||
export const getCurrentGameAPI = async () => {
|
||||
uni.$emit("update-header-loading", true);
|
||||
const result = await request("GET", "/user/join/battle");
|
||||
return result.currentGame || {};
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user