|
@@ -291,6 +291,7 @@ export default defineComponent({
|
|
const renderPaperAndMark = async () => {
|
|
const renderPaperAndMark = async () => {
|
|
if (__lock) {
|
|
if (__lock) {
|
|
if (store.currentTask?.libraryId === __currentLibraryId) {
|
|
if (store.currentTask?.libraryId === __currentLibraryId) {
|
|
|
|
+ // rendering.value 会触发渲染,所以这里应取消。所以这里更好的做法是watch currentTask?
|
|
console.log("重复渲染,返回");
|
|
console.log("重复渲染,返回");
|
|
return;
|
|
return;
|
|
}
|
|
}
|