mirror of
https://github.com/1Panel-dev/1Panel.git
synced 2024-11-23 18:49:21 +08:00
parent
cdb0f8e85c
commit
c2bb422b66
@ -387,7 +387,9 @@ const onSetting = async () => {
|
||||
};
|
||||
|
||||
const changeDatabase = async () => {
|
||||
appStatusRef.value.onCheck();
|
||||
if (currentDB.value.from === 'local') {
|
||||
appStatusRef.value.onCheck();
|
||||
}
|
||||
for (const item of dbOptionsLocal.value) {
|
||||
if (item.database == currentDBName.value) {
|
||||
currentDB.value = item;
|
||||
|
@ -350,7 +350,9 @@ const onSetting = async () => {
|
||||
};
|
||||
|
||||
const changeDatabase = async () => {
|
||||
appStatusRef.value.onCheck();
|
||||
if (currentDB.value.from === 'local') {
|
||||
appStatusRef.value.onCheck();
|
||||
}
|
||||
for (const item of dbOptionsLocal.value) {
|
||||
if (item.database == currentDBName.value) {
|
||||
currentDB.value = item;
|
||||
|
@ -222,7 +222,9 @@ const goRouter = async (target: string) => {
|
||||
};
|
||||
|
||||
const changeDatabase = async () => {
|
||||
appStatusRef.value.onCheck();
|
||||
if (currentDB.value.from === 'local') {
|
||||
appStatusRef.value.onCheck();
|
||||
}
|
||||
for (const item of dbOptionsLocal.value) {
|
||||
if (item.database == currentDBName.value) {
|
||||
currentDB.value = item;
|
||||
|
Loading…
Reference in New Issue
Block a user