From 0e0d6692c0412e193c1c5a650afb101c2d782800 Mon Sep 17 00:00:00 2001 From: syuilo Date: Mon, 2 Sep 2019 06:21:43 +0900 Subject: [PATCH] Fix bug --- src/client/app/common/views/pages/page-editor/page-editor.vue | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/client/app/common/views/pages/page-editor/page-editor.vue b/src/client/app/common/views/pages/page-editor/page-editor.vue index cae531e1f7..cbe65ad6f0 100644 --- a/src/client/app/common/views/pages/page-editor/page-editor.vue +++ b/src/client/app/common/views/pages/page-editor/page-editor.vue @@ -232,7 +232,7 @@ export default Vue.extend({ eyeCatchingImageId: this.eyeCatchingImageId, }; - function onError(err) { + const onError = err => { if (err.id == '3d81ceae-475f-4600-b2a8-2bc116157532') { if (err.info.param == 'name') { this.$root.dialog({ @@ -247,7 +247,7 @@ export default Vue.extend({ text: this.$t('name-already-exists') }); } - } + }; if (this.pageId) { options.pageId = this.pageId;