fix: 数据库重启等操作增加 loading
This commit is contained in:
committed by
f2c-ci-robot[bot]
parent
e044ca7d12
commit
31da89d63a
@@ -4,7 +4,7 @@
|
|||||||
<template #app>
|
<template #app>
|
||||||
<AppStatus
|
<AppStatus
|
||||||
:app-key="'mysql'"
|
:app-key="'mysql'"
|
||||||
style="margin-top: 20px"
|
v-model:loading="loading"
|
||||||
@setting="onSetting"
|
@setting="onSetting"
|
||||||
@is-exist="checkExist"
|
@is-exist="checkExist"
|
||||||
></AppStatus>
|
></AppStatus>
|
||||||
|
|||||||
@@ -4,7 +4,7 @@
|
|||||||
<template #app>
|
<template #app>
|
||||||
<AppStatus
|
<AppStatus
|
||||||
:app-key="'redis'"
|
:app-key="'redis'"
|
||||||
style="margin-top: 20px"
|
v-model:loading="loading"
|
||||||
@before="onBefore"
|
@before="onBefore"
|
||||||
@setting="onSetting"
|
@setting="onSetting"
|
||||||
@is-exist="checkExist"
|
@is-exist="checkExist"
|
||||||
@@ -129,7 +129,6 @@ const closeTerminal = async (isKeepShow: boolean) => {
|
|||||||
|
|
||||||
const onBefore = () => {
|
const onBefore = () => {
|
||||||
closeTerminal(true);
|
closeTerminal(true);
|
||||||
loading.value = true;
|
|
||||||
};
|
};
|
||||||
onBeforeUnmount(() => {
|
onBeforeUnmount(() => {
|
||||||
closeTerminal(false);
|
closeTerminal(false);
|
||||||
|
|||||||
Reference in New Issue
Block a user