From b321903102e20e46b88df1202e0a40857478ce20 Mon Sep 17 00:00:00 2001 From: vagusX Date: Tue, 25 Jul 2023 16:16:32 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20=E8=B0=83=E6=95=B4=20=E7=BB=A7=E7=BB=AD?= =?UTF-8?q?=E9=80=89=E5=8F=96=20=E5=88=B0=E5=A4=9A=E9=80=89=E5=89=AA?= =?UTF-8?q?=E8=97=8F=E4=B8=8B=20(#48)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit * fix: 调整 `继续选取` 到多选剪藏下 * chore: update display text --- src/pages/inject/content-scripts.ts | 4 ++-- src/pages/sandbox/SaveTo.tsx | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/src/pages/inject/content-scripts.ts b/src/pages/inject/content-scripts.ts index b1abb210..f44d95d8 100644 --- a/src/pages/inject/content-scripts.ts +++ b/src/pages/inject/content-scripts.ts @@ -36,9 +36,9 @@ class App { pointerEvents: 'none', // 遮罩层不需要响应鼠标事件 }) .appendTo('body'); - const maskMessage = $('
') + $('
') .addClass('mask-message') - .text('单击区域以选中,再次单击取消选中\nESC 退出, ↲ 完成') + .text('单击区域以选中,再次单击取消选中 ESC 退出, ↲ 完成。') .css({ color: '#fff', fontSize: '16px', diff --git a/src/pages/sandbox/SaveTo.tsx b/src/pages/sandbox/SaveTo.tsx index 11c0b7fc..565495d4 100644 --- a/src/pages/sandbox/SaveTo.tsx +++ b/src/pages/sandbox/SaveTo.tsx @@ -235,7 +235,7 @@ const useViewModel = props => { useEffect(() => { setShowContinueButton( - currentType === SELECT_TYPES[1].key && !isEmpty(editorValue), + currentType === SELECT_TYPES[0].key && !isEmpty(editorValue), ); }, [ editorValue, currentType ]);