Commit da4a764e authored by Chunchi Che's avatar Chunchi Che

fix myExtraDeckCodes in side

parent 150a052d
Pipeline #23455 passed with stages
in 13 minutes
......@@ -58,7 +58,10 @@ export const Component: React.FC = () => {
setDeck(JSON.parse(JSON.stringify(sideDeck)));
message.info("重置成功");
};
const onSummit = () => sendUpdateDeck(deck);
const onSummit = () => {
sendUpdateDeck(deck);
window.myExtraDeckCodes = [...deck.extra];
};
useEffect(() => {
if (stage === SideStage.SIDE_CHANGED) {
......
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