fix: 前端代理默认端口调整&水印开关不生效

This commit is contained in:
meilin.huang
2023-09-27 17:19:58 +08:00
parent 92dff6fdc3
commit fac71a4794
4 changed files with 21 additions and 24 deletions

View File

@@ -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>