From adcd775270c143b6ec9604bc20268514ae08f0d5 Mon Sep 17 00:00:00 2001 From: xream Date: Tue, 6 Feb 2024 13:50:42 +0800 Subject: [PATCH] =?UTF-8?q?chore:=20=E6=96=87=E6=A1=88=E6=A0=B7=E5=BC=8F?= =?UTF-8?q?=E8=B0=83=E6=95=B4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- package.json | 2 +- src/locales/en.ts | 2 +- src/locales/zh.ts | 2 +- src/views/editor/ActionBlock.vue | 9 ++++++++- 4 files changed, 11 insertions(+), 4 deletions(-) diff --git a/package.json b/package.json index 422f19777..1ea1079e1 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "sub-store-front-end", - "version": "2.14.132", + "version": "2.14.133", "private": true, "scripts": { "dev": "vite --host", diff --git a/src/locales/en.ts b/src/locales/en.ts index 177dd4bad..e6841c6ef 100644 --- a/src/locales/en.ts +++ b/src/locales/en.ts @@ -291,7 +291,7 @@ export default { }, pasteAction: { label: 'Import Data From Clipboard', - placeholder: 'Failed to read clipboard automatically, please paste data manually.' + placeholder: 'Failed to read the clipboard automatically, please paste the data manually in this text box.' }, }, nodeActions: { diff --git a/src/locales/zh.ts b/src/locales/zh.ts index ad4229410..93d4d730e 100644 --- a/src/locales/zh.ts +++ b/src/locales/zh.ts @@ -290,7 +290,7 @@ export default { }, pasteAction: { label: '从剪贴板导入', - placeholder: '自动读取剪贴板失败, 请手动粘贴数据' + placeholder: '自动读取剪贴板失败, 请在此文本框内手动粘贴数据' }, }, nodeActions: { diff --git a/src/views/editor/ActionBlock.vue b/src/views/editor/ActionBlock.vue index 45ac79653..e02ac125b 100644 --- a/src/views/editor/ActionBlock.vue +++ b/src/views/editor/ActionBlock.vue @@ -96,6 +96,9 @@ text-align="center" />
+ @@ -164,6 +167,10 @@ const copyItem = async element => { Toast.text(`已复制数据 可用于导入`); }; +const cancelPaste = async () => { + showPasteboard.value = false + pasteboard.value = '' +} const paste = async () => { try { let text = '' @@ -289,7 +296,7 @@ const pop = (type: string, tipsDes: string) => { border: solid 1px var(--divider-color); position: fixed; width: 80vw; - height: 20vw; + height: 40vw; left: calc(50vw - 40vw); top: calc(50vh - 20vw); }