Commit 2899ca4e authored by Chunchi Che's avatar Chunchi Che

update fetchHintMeta

parent 33209312
Pipeline #18807 passed with stages
in 2 minutes and 53 seconds
...@@ -15,7 +15,11 @@ export const fetchHintMeta = createAsyncThunk( ...@@ -15,7 +15,11 @@ export const fetchHintMeta = createAsyncThunk(
const player = param[0]; const player = param[0];
const hintData = param[1]; const hintData = param[1];
const hintMeta = await fetchStrings("!system", hintData); // TODO: 可以思考下这里怎么处理比较合理
const hintMeta =
hintData < 10000
? await fetchStrings("!system", hintData)
: await fetchStrings("!card", hintData);
const response: [number, string] = [player, hintMeta]; const response: [number, string] = [player, hintMeta];
return response; return response;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment