From a5427be09d7a12e233d29a04434a9402aaee739f Mon Sep 17 00:00:00 2001 From: jiatianqi Date: Tue, 1 Nov 2022 11:36:44 +0800 Subject: [PATCH] =?UTF-8?q?amis-saas-6069=20[Improvement.]=20=E6=B5=8B?= =?UTF-8?q?=E8=AF=95=E3=80=90=E7=BC=96=E8=BE=91=E5=99=A8=E3=80=8C=E5=89=AA?= =?UTF-8?q?=E5=88=87=E9=85=8D=E7=BD=AE=E3=80=8D=E3=80=91=E5=89=AA=E5=88=87?= =?UTF-8?q?=E9=85=8D=E7=BD=AE=E5=90=8Eui=E6=98=BE=E7=A4=BA=E4=B8=8D?= =?UTF-8?q?=E6=AD=A3=E7=A1=AE?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Change-Id: I3eef34a4a75a768b99242c2d3baad0c3bf0bed9f --- packages/amis-editor-core/src/manager.ts | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/packages/amis-editor-core/src/manager.ts b/packages/amis-editor-core/src/manager.ts index b231dac1c..8ed281c49 100644 --- a/packages/amis-editor-core/src/manager.ts +++ b/packages/amis-editor-core/src/manager.ts @@ -1210,10 +1210,10 @@ export class EditorManager { * 复制节点配置 * @param id */ - copy(id: string) { + copy(id: string, toastText: string = '已复制') { const json = this.store.getValueOf(id); this.clipboardData = stringify(json); - toast.info('配置项已复制'); + toast.info('配置项' + toastText); } /** @@ -1221,7 +1221,7 @@ export class EditorManager { * @param id */ cut(id: string) { - this.copy(id); + this.copy(id, '已剪切'); this.del(id); }