Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

refactor: support create multi instances for a business #234

Merged
merged 2 commits into from
Oct 6, 2023

Conversation

wzhudev
Copy link
Member

@wzhudev wzhudev commented Oct 6, 2023

No description provided.

packages/core/src/services/current.service.ts Outdated Show resolved Hide resolved
}

onReady(): void {
this._pluginStore.forEachPlugin((p) => p.onReady());
createSheet(workbookConfig: Partial<IWorkbookConfig>): Workbook {
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

createSheet 叫 createSheetModel是不是更好

*/
getUnitId(): string {
return this._document.getUnitId();
createDoc(docData: Partial<IDocumentData>): DocumentModel {
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

叫 createDocumentModel? ,而且这里为啥不像workbook那样存到一个数组里

@wzhudev wzhudev requested a review from Jocs as a code owner October 6, 2023 04:30
@wzhudev wzhudev force-pushed the wzhudev/refactor-multi-instance branch from 38b9a02 to b536b71 Compare October 6, 2023 05:45
@wzhudev wzhudev merged commit 9ad2597 into dev Oct 6, 2023
3 checks passed
@wzhudev wzhudev deleted the wzhudev/refactor-multi-instance branch October 6, 2023 06:16
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants