From a896c800c872bba681940b07335bb0db48f4b9d5 Mon Sep 17 00:00:00 2001 From: linxl <3382272560@qq.com> Date: Sun, 18 Jun 2023 22:03:32 +0800 Subject: [PATCH] update readme --- README_zh.md | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/README_zh.md b/README_zh.md index b9cbfb2..4854ecc 100644 --- a/README_zh.md +++ b/README_zh.md @@ -18,7 +18,7 @@ npm install @zurmokeeper/exceljs 变更日志: -* 1: Fixbug: [Internal hyperlink does not work on wps office](https://github.com/zurmokeeper/excelize/issues/4). (brank change) 和支持新的内部链接方式。 +* 1: Fixbug: [Internal hyperlink does not work on wps office](https://github.com/zurmokeeper/excelize/issues/4). (Break change) 和支持新的内部链接方式。 * 2:Add type definition for WorksheetModel.merges, Thank you ytjmt, Merged PR2281. * 3:Add type definition for WorksheetProtection.spinCount,Thank you damingerdai, Merged PR2284. @@ -31,13 +31,13 @@ const ws1 = wb.addWorksheet('Sheet1'); const ws2 = wb.addWorksheet('Sheet2'); '#'是必须的,@zurmokeeper/exceljs 是通过'#'来区分内部链接的,默认会被认为是非内部链接,旧版本使用也要手动加上 '#' ,如何没加的话 -// internal link +// internal hyperlink ws1.getCell('A1').value = { text: 'Sheet2', hyperlink: '#Sheet2!A1' }; -// internal link +// internal hyperlink ws1.getCell('A1').value = { text: 'Sheet2', hyperlink: '#Sheet2!A1:B1' }; -// internal link +// internal hyperlink ws1.getCell('A1').value = { text: 'Sheet2', hyperlink: '#A1:B1' }; ```