master
parent
bdc5c81d0c
commit
c7b5a4928b
|
@ -117,9 +117,13 @@ export default {
|
||||||
const dbName = this.queryParams.dbName;
|
const dbName = this.queryParams.dbName;
|
||||||
importTable(tableNames, dbName).then(res => {
|
importTable(tableNames, dbName).then(res => {
|
||||||
console.log(res)
|
console.log(res)
|
||||||
this.$modal.msgSuccess(res.msg);
|
if (res.code === 200){
|
||||||
this.visible = false;
|
this.$modal.msgSuccess("成功");
|
||||||
this.$emit("ok");
|
this.visible = false;
|
||||||
|
this.$emit("ok");
|
||||||
|
}else{
|
||||||
|
this.$modal.msgSuccess(res.data.msg);
|
||||||
|
}
|
||||||
});
|
});
|
||||||
},
|
},
|
||||||
// 查询所有数据库名称
|
// 查询所有数据库名称
|
||||||
|
|
Loading…
Reference in New Issue