From 37df178fbf68e98c22c958c74aa306de553e3d32 Mon Sep 17 00:00:00 2001 From: lideqin <694785430@qq.com> Date: Mon, 22 Jul 2024 15:20:00 +0800 Subject: [PATCH] =?UTF-8?q?[update]=20=E7=82=B9=E5=87=BB=E7=9B=AE=E6=AC=A1?= =?UTF-8?q?=EF=BC=8C=E9=99=84=E5=BD=95=EF=BC=88=E5=89=8D=E9=9D=A2=E7=9A=84?= =?UTF-8?q?=E7=A9=BA=E6=A0=BC=E5=8E=BB=E6=8E=89?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/pages/page1/saicComponents/Init.vue | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/src/pages/page1/saicComponents/Init.vue b/src/pages/page1/saicComponents/Init.vue index 201502b..6f9e27a 100644 --- a/src/pages/page1/saicComponents/Init.vue +++ b/src/pages/page1/saicComponents/Init.vue @@ -1794,6 +1794,15 @@ export default { } else if (list[i].GetIndLeft() == 1417) { list[i].SetIndLeft(720) } + // 附录(前面的空格去掉 + if (list[i].GetText().indexOf('(') !== -1 && list[i].GetText().indexOf('附 录') !== -1 || list[i].GetText().indexOf('附录') !== -1) { + let text = list[i].GetText() + const textBr = text.substring(4, 5) + if (textBr === ' ') { + const oRange1 = Api.CreateRange(list[i], 4, 4) + oRange1.Delete() + } + } } } }