From 6c3a5953390b2e20bfbf62408b302533c7088650 Mon Sep 17 00:00:00 2001 From: taojinlong Date: Mon, 24 May 2021 14:07:21 +0800 Subject: [PATCH] =?UTF-8?q?feat:=20=E4=BF=9D=E5=AD=98=E6=8C=89=E9=92=AE?= =?UTF-8?q?=E4=BD=9C=E4=B8=BA=E2=80=9C=E6=96=87=E5=AD=97=E6=8C=89=E9=92=AE?= =?UTF-8?q?=E2=80=9D=E6=94=BE=E5=9C=A8=E5=85=B3=E9=97=AD=E6=8C=89=E9=92=AE?= =?UTF-8?q?=E7=9A=84=E5=B7=A6=E8=BE=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- frontend/package.json | 4 ++-- frontend/src/components/canvas/components/Toolbar.vue | 8 ++++---- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/frontend/package.json b/frontend/package.json index 8cf908add8..2aa81c3720 100644 --- a/frontend/package.json +++ b/frontend/package.json @@ -51,7 +51,7 @@ "@babel/register": "7.0.0", "@vue/cli-plugin-babel": "3.6.0", "@vue/cli-plugin-eslint": "^3.9.1", - "@vue/cli-service": "3.6.0", + "@vue/cli-service": "^3.3.1", "babel-eslint": "10.0.1", "chalk": "2.4.2", "connect": "3.6.6", @@ -61,7 +61,7 @@ "less": "^4.1.1", "less-loader": "^8.0.0", "mockjs": "1.0.1-beta3", - "runjs": "^4.3.2", + "runjs": "^4.1.3", "sass": "^1.32.5", "sass-loader": "^10.1.1", "script-ext-html-webpack-plugin": "2.1.3", diff --git a/frontend/src/components/canvas/components/Toolbar.vue b/frontend/src/components/canvas/components/Toolbar.vue index ee27aee033..48aa7af8e0 100644 --- a/frontend/src/components/canvas/components/Toolbar.vue +++ b/frontend/src/components/canvas/components/Toolbar.vue @@ -29,14 +29,14 @@ - - - + + {{ $t('commons.save') }} + {{ $t('commons.close') }} @@ -209,7 +209,7 @@ export default { panelData: JSON.stringify(this.componentData) } post('panel/group/save', requestInfo, () => {}) - this.$message.success('保存成功') + this.$message.success(this.$t('commons.save_success')) }, clearCanvas() { this.$store.commit('setComponentData', [])