This commit is contained in:
lxk0301
2021-02-10 12:47:05 +08:00
parent 54afdfb6bc
commit 465e507a8f
2 changed files with 3 additions and 3 deletions

View File

@@ -357,7 +357,7 @@ function shareCodesFormat() {
const tempIndex = $.index > inviteCodes.length ? (inviteCodes.length - 1) : ($.index - 1);
$.newShareCodes = inviteCodes[tempIndex].split('@');
}
const readShareCodeRes = null // await readShareCode();
const readShareCodeRes = await readShareCode();
if (readShareCodeRes && readShareCodeRes.code === 200) {
$.newShareCodes = [...new Set([...$.newShareCodes, ...(readShareCodeRes.data || [])])];
}