1
0
mirror of https://github.com/1Panel-dev/1Panel.git synced 2025-01-31 14:08:06 +08:00

fix: 修改 loading (#1936)

This commit is contained in:
ssongliu 2023-08-12 23:12:14 +08:00 committed by GitHub
parent 0d687daa13
commit 27100594a4
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -150,7 +150,7 @@ const onSubmit = async (formEl: FormInstance | undefined, operation: string) =>
if (operation === 'create') { if (operation === 'create') {
await addRemoteDB(param) await addRemoteDB(param)
.then(() => { .then(() => {
loading.value = true; loading.value = false;
MsgSuccess(i18n.global.t('commons.msg.operationSuccess')); MsgSuccess(i18n.global.t('commons.msg.operationSuccess'));
emit('search'); emit('search');
drawerVisiable.value = false; drawerVisiable.value = false;