From bf338aaa0a95a6cfff1eb8264cb5cb78b1453f1f Mon Sep 17 00:00:00 2001 From: junjie Date: Wed, 19 May 2021 18:10:25 +0800 Subject: [PATCH] =?UTF-8?q?feat(frontend):=E8=A7=86=E5=9B=BE=E5=85=B3?= =?UTF-8?q?=E8=81=94=E6=95=B0=E6=8D=AE=E9=9B=86=E8=A2=AB=E5=88=A0=E9=99=A4?= =?UTF-8?q?=E6=97=B6=EF=BC=8C=E5=8F=8B=E5=A5=BD=E6=8F=90=E7=A4=BA?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- frontend/src/views/chart/view/ChartEdit.vue | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/frontend/src/views/chart/view/ChartEdit.vue b/frontend/src/views/chart/view/ChartEdit.vue index 539b00a074..16415975ba 100644 --- a/frontend/src/views/chart/view/ChartEdit.vue +++ b/frontend/src/views/chart/view/ChartEdit.vue @@ -483,7 +483,7 @@ export default { }) }, closeEdit() { - if (this.view.title.length > 50) { + if (this.view.title && this.view.title.length > 50) { this.$warning(this.$t('chart.title_limit')) return }