From 4535dd2a5e9b95c656d497fff1b9a08f1e404f8d Mon Sep 17 00:00:00 2001 From: junjie Date: Tue, 18 May 2021 15:20:48 +0800 Subject: [PATCH] =?UTF-8?q?feat(dashboard):ui=20fix;=E5=88=9B=E5=BB=BA?= =?UTF-8?q?=E4=B8=80=E7=BA=A7=E7=9B=AE=E5=BD=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- frontend/src/views/panel/enshrine/index.vue | 3 +- .../src/views/panel/list/EditPanel/index.vue | 16 +++++----- frontend/src/views/panel/list/PanelList.vue | 29 ++++++++++++++++--- .../src/views/panel/list/PanelViewShow.vue | 2 +- 4 files changed, 35 insertions(+), 15 deletions(-) diff --git a/frontend/src/views/panel/enshrine/index.vue b/frontend/src/views/panel/enshrine/index.vue index 09be5a705a..7e944638c5 100644 --- a/frontend/src/views/panel/enshrine/index.vue +++ b/frontend/src/views/panel/enshrine/index.vue @@ -1,7 +1,6 @@ @@ -101,7 +101,7 @@ export default { }, save() { if (!this.editPanel.panelInfo.name) { - this.$warning( this.$t('commons.name_can_not_empty')) + this.$warning(this.$t('chart.name_can_not_empty')) return false } panelSave(this.editPanel.panelInfo).then(response => { diff --git a/frontend/src/views/panel/list/PanelList.vue b/frontend/src/views/panel/list/PanelList.vue index 26d7362113..d336d589ba 100644 --- a/frontend/src/views/panel/list/PanelList.vue +++ b/frontend/src/views/panel/list/PanelList.vue @@ -1,5 +1,5 @@