Merge pull request '纠正远调报错' (#6) from dev into master

Reviewed-on: #6
pull/7/head^2
niuwu666 2024-08-30 09:45:36 +08:00
commit dbafb70daf
2 changed files with 5 additions and 5 deletions

View File

@ -40,7 +40,7 @@ export function extractDataName() {
export function selectByTableName(tableName) { export function selectByTableName(tableName) {
return request({ return request({
url: '/integration/task/selectByTableName?tableName='+tableName, url: `/integration/task/selectByTableName?tableName=`+tableName,
method: 'post', method: 'post',
}) })
} }

View File

@ -140,7 +140,7 @@ export default {
}, },
nextOne(){ nextOne(){
let tableAsField = this.tableMsg.tableAsField; let tableAsField = this.tableMsg.tableAsField;
let tableName = this.tableMsg.tableName; let tableName = this.tableMsg.tableName.toString();
selectByTableName(tableName).then(res => { selectByTableName(tableName).then(res => {
this.dialogVisible1 = true this.dialogVisible1 = true
this.tableData = res.data this.tableData = res.data