mirror of
https://gitee.com/dromara/mayfly-go
synced 2025-12-09 09:20:25 +08:00
refactor: websocket支持单用户多连接
This commit is contained in:
@@ -171,6 +171,8 @@ const changeDatabase = () => {
|
||||
};
|
||||
|
||||
const getAllDatabase = async () => {
|
||||
// 清空数据库列表,可能已经有选择库了
|
||||
state.databaseList = [];
|
||||
if (state.form.instanceId > 0) {
|
||||
state.allDatabases = await dbApi.getAllDatabase.request({ instanceId: state.form.instanceId });
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user