From dea154a1c354a113e7e242bc30689d324c729231 Mon Sep 17 00:00:00 2001 From: yupix Date: Fri, 27 Oct 2023 12:47:59 +0000 Subject: [PATCH] =?UTF-8?q?chore:=20=E4=B8=8D=E8=A6=81=E3=81=AAsuccess?= =?UTF-8?q?=E3=81=AE=E5=91=BC=E3=81=B3=E5=87=BA=E3=81=97=E3=82=92=E5=89=8A?= =?UTF-8?q?=E9=99=A4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- packages/frontend/src/pages/channel-editor.vue | 9 ++------- 1 file changed, 2 insertions(+), 7 deletions(-) diff --git a/packages/frontend/src/pages/channel-editor.vue b/packages/frontend/src/pages/channel-editor.vue index 850573abca..614bd1ae39 100644 --- a/packages/frontend/src/pages/channel-editor.vue +++ b/packages/frontend/src/pages/channel-editor.vue @@ -154,14 +154,9 @@ function save() { if (props.channelId) { params.channelId = props.channelId; - os.apiWithDialog('channels/update', params).then(() => { - os.success(); - }); + os.apiWithDialog('channels/update', params); } else { - os.apiWithDialog('channels/create', params).then(created => { - os.success(); - router.push(`/channels/${created.id}`); - }); + os.apiWithDialog('channels/create', params); } }