mirror of
https://github.com/1Panel-dev/1Panel.git
synced 2024-11-10 17:13:30 +08:00
fix: 数据库重启等操作增加 loading
This commit is contained in:
parent
e044ca7d12
commit
31da89d63a
2 changed files with 2 additions and 3 deletions
|
@ -4,7 +4,7 @@
|
|||
<template #app>
|
||||
<AppStatus
|
||||
:app-key="'mysql'"
|
||||
style="margin-top: 20px"
|
||||
v-model:loading="loading"
|
||||
@setting="onSetting"
|
||||
@is-exist="checkExist"
|
||||
></AppStatus>
|
||||
|
|
|
@ -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);
|
||||
|
|
Loading…
Reference in a new issue