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); }