fix: active 改成 activate

This commit is contained in:
lihao.ylh 2021-09-06 09:44:09 +08:00
parent 0fb1386824
commit 530393560d

View File

@ -103,7 +103,7 @@ const pages = Object.assign(project, {
return project.documents;
},
setCurrentPage(page: DocumentModel) {
page.active();
page.activate();
},
getCurrentPage() {
return project.currentDocument;