From 7b2d93a169ae81a93415dbcefb95c4fa29eb6955 Mon Sep 17 00:00:00 2001 From: zw Date: Fri, 20 Sep 2024 21:08:15 +0800 Subject: [PATCH] fix: input link error --- .../src/controllers/set-range.controller.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/sheets-hyper-link-ui/src/controllers/set-range.controller.ts b/packages/sheets-hyper-link-ui/src/controllers/set-range.controller.ts index 53a71eb3f9a..623d37ad6ce 100644 --- a/packages/sheets-hyper-link-ui/src/controllers/set-range.controller.ts +++ b/packages/sheets-hyper-link-ui/src/controllers/set-range.controller.ts @@ -169,7 +169,7 @@ export class SheetHyperLinkSetRangeController extends Disposable { dataStream: `${DataStreamTreeTokenType.CUSTOM_RANGE_START}${cell.v}${DataStreamTreeTokenType.CUSTOM_RANGE_END}`, customRanges: [{ startIndex: 0, - endIndex: cell.v.length, + endIndex: cell.v.length + 1, rangeId: generateRandomId(), rangeType: CustomRangeType.HYPERLINK, properties: {