Build your own AI office with Univer Office SDK. Bring editing, calculation, collaboration, and file processing into your product for people and AI agents. Built on an extensible open-source core.
TypeScript boardcollaborationdocdocxexceloffce365officepdfpptpptxpresentationsdksheetslidesspreadsheetuniverwordwordprocessorworkspacexlsx
fix: fix FWorksheet.getUrl (#6953)
wpxp1234560e3d93bd6029
diff --git a/packages/sheets-hyper-link/src/facade/f-worksheet.ts b/packages/sheets-hyper-link/src/facade/f-worksheet.tsindex 7fffd772be..633159b4bb 100644--- a/packages/sheets-hyper-link/src/facade/f-worksheet.ts+++ b/packages/sheets-hyper-link/src/facade/f-worksheet.ts@@ -38,7 +38,7 @@ export interface IFWorksheetHyperlinkMixin {export class FWorksheetHyperlinkMixin extends FWorksheet implements IFWorksheetHyperlinkMixin {override getUrl(): string {const parserService = this._injector.get(SheetsHyperLinkParserService);- return parserService.buildHyperLink(this._worksheet.getSheetId());+ return parserService.buildHyperLink(null, this._worksheet.getSheetId());}}