Commit 645c8a1d authored by timel's avatar timel

fix: IDECK type warning

parent 3c38ffb5
......@@ -152,8 +152,7 @@ const WaitRoom = () => {
) {
// YDK解析成功
message.success(`${file.name}解析成功`);
onDeckReady(deck);
onDeckReady({ deckName: file.name, ...deck });
} else {
message.error(`${file.name}解析失败`);
setUploadState("ERROR");
......
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