|
|
@ -19,6 +19,7 @@
|
|
|
|
@before="onBefore"
|
|
|
|
@before="onBefore"
|
|
|
|
@after="onAfter"
|
|
|
|
@after="onAfter"
|
|
|
|
@setting="onSetting"
|
|
|
|
@setting="onSetting"
|
|
|
|
|
|
|
|
ref="appStatusRef"
|
|
|
|
></AppStatus>
|
|
|
|
></AppStatus>
|
|
|
|
</template>
|
|
|
|
</template>
|
|
|
|
<template #search v-if="!isOnSetting && currentDB">
|
|
|
|
<template #search v-if="!isOnSetting && currentDB">
|
|
|
@ -164,6 +165,7 @@ const redisIsExist = ref(false);
|
|
|
|
const redisStatus = ref();
|
|
|
|
const redisStatus = ref();
|
|
|
|
const terminalShow = ref(false);
|
|
|
|
const terminalShow = ref(false);
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
const appStatusRef = ref();
|
|
|
|
const commandVisible = ref(false);
|
|
|
|
const commandVisible = ref(false);
|
|
|
|
|
|
|
|
|
|
|
|
const redisCliExist = ref();
|
|
|
|
const redisCliExist = ref();
|
|
|
@ -220,6 +222,7 @@ const goRouter = async (target: string) => {
|
|
|
|
};
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
|
|
const changeDatabase = async () => {
|
|
|
|
const changeDatabase = async () => {
|
|
|
|
|
|
|
|
appStatusRef.value.onCheck();
|
|
|
|
for (const item of dbOptionsLocal.value) {
|
|
|
|
for (const item of dbOptionsLocal.value) {
|
|
|
|
if (item.database == currentDBName.value) {
|
|
|
|
if (item.database == currentDBName.value) {
|
|
|
|
currentDB.value = item;
|
|
|
|
currentDB.value = item;
|
|
|
|