fix: 数据库重启等操作增加 loading

This commit is contained in:
ssongliu 2023-03-16 15:29:33 +08:00 committed by f2c-ci-robot[bot]
parent e044ca7d12
commit 31da89d63a
2 changed files with 2 additions and 3 deletions

View file

@ -4,7 +4,7 @@
<template #app>
<AppStatus
:app-key="'mysql'"
style="margin-top: 20px"
v-model:loading="loading"
@setting="onSetting"
@is-exist="checkExist"
></AppStatus>

View file

@ -4,7 +4,7 @@
<template #app>
<AppStatus
:app-key="'redis'"
style="margin-top: 20px"
v-model:loading="loading"
@before="onBefore"
@setting="onSetting"
@is-exist="checkExist"
@ -129,7 +129,6 @@ const closeTerminal = async (isKeepShow: boolean) => {
const onBefore = () => {
closeTerminal(true);
loading.value = true;
};
onBeforeUnmount(() => {
closeTerminal(false);