mirror of
https://gitee.com/dromara/mayfly-go
synced 2025-11-03 16:00:25 +08:00
fix: 前端代理默认端口调整&水印开关不生效
This commit is contained in:
@@ -405,9 +405,7 @@ const toIndex = async () => {
|
||||
// 关闭 loading
|
||||
state.loading.signIn = true;
|
||||
ElMessage.success(`${currentTimeInfo},欢迎回来!`);
|
||||
if (await useWartermark()) {
|
||||
saveUseWatermark(true);
|
||||
}
|
||||
saveUseWatermark(await useWartermark());
|
||||
}, 300);
|
||||
};
|
||||
|
||||
|
||||
@@ -2,7 +2,12 @@
|
||||
<div>
|
||||
<el-row class="mb5">
|
||||
<el-col :span="4">
|
||||
<el-button type="primary" icon="plus" @click="addQueryTab({ id: nowDbInst.id, dbs: nowDbInst.databases.split(' ') }, state.db)" size="small"
|
||||
<el-button
|
||||
:disabled="!state.db || !nowDbInst.id"
|
||||
type="primary"
|
||||
icon="plus"
|
||||
@click="addQueryTab({ id: nowDbInst.id, dbs: nowDbInst.databases?.split(' ') }, state.db)"
|
||||
size="small"
|
||||
>新建查询</el-button
|
||||
>
|
||||
</el-col>
|
||||
|
||||
@@ -29,7 +29,7 @@ const viteConfig: UserConfig = {
|
||||
open: VITE_OPEN,
|
||||
proxy: {
|
||||
'/api': {
|
||||
target: 'http://localhost:8888',
|
||||
target: 'http://localhost:18888',
|
||||
ws: true,
|
||||
changeOrigin: true,
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user