添加数据检索查询校验
This commit is contained in:
parent
4171f10bed
commit
904223627c
|
@ -200,6 +200,10 @@ export default {
|
||||||
},
|
},
|
||||||
getTableDataList() {
|
getTableDataList() {
|
||||||
console.log(this.tableParams)
|
console.log(this.tableParams)
|
||||||
|
if (this.tableParams.schemaMass == null || this.tableParams.tableName) {
|
||||||
|
this.$message.warning('必须选择查询的表')
|
||||||
|
return
|
||||||
|
}
|
||||||
tableDataList(this.tableParams).then(res => {
|
tableDataList(this.tableParams).then(res => {
|
||||||
if (res.code == 200) {
|
if (res.code == 200) {
|
||||||
this.columns = []
|
this.columns = []
|
||||||
|
|
Loading…
Reference in New Issue
Block a user