🐛 flash card zoomin status

This commit is contained in:
Vanessa 2023-10-01 10:49:52 +08:00
parent e8359edebc
commit df487a7c6a
2 changed files with 5 additions and 3 deletions

View file

@ -143,7 +143,7 @@ export const bindCardEvent = (options: {
onGet({
data: response,
protyle: editor.protyle,
action: [Constants.CB_GET_ALL, Constants.CB_GET_HTML],
action: response.data.rootID === response.data.id ? [Constants.CB_GET_HTML] : [Constants.CB_GET_ALL, Constants.CB_GET_HTML],
});
});
}
@ -485,7 +485,7 @@ const nextCard = (options: {
onGet({
data: response,
protyle: options.editor.protyle,
action: [Constants.CB_GET_ALL, Constants.CB_GET_HTML],
action: response.data.rootID === response.data.id ? [Constants.CB_GET_HTML] : [Constants.CB_GET_ALL, Constants.CB_GET_HTML],
});
});
};