mirror of
https://gitee.com/dromara/mayfly-go
synced 2025-11-07 18:00:25 +08:00
feat: 调整单个数据库资源可配置多个数据库
This commit is contained in:
@@ -83,6 +83,9 @@ export default defineComponent({
|
||||
dbId: {
|
||||
type: Number,
|
||||
},
|
||||
db: {
|
||||
type: String,
|
||||
}
|
||||
},
|
||||
setup(props: any, { emit }) {
|
||||
const formRef: any = ref();
|
||||
@@ -202,6 +205,7 @@ export default defineComponent({
|
||||
SqlExecBox({
|
||||
sql: sql,
|
||||
dbId: props.dbId as any,
|
||||
db: props.db,
|
||||
runSuccessCallback: () => {
|
||||
ElMessage.success('创建成功');
|
||||
proxy.$parent.tableInfo({ id: props.dbId });
|
||||
|
||||
Reference in New Issue
Block a user