1、在【连接器工厂】新建连接器
2、使用连接器
let text = this.$('textareaField_l3v8w71b').getValue();
let params = {
"Query": {
"text": text
}
}
this.dataSourceMap.getAddress.load({
inputs: JSON.stringify(params)
}).then(res=>{
console.log(res)
let data = res.showapi_res_body
// 收货人
this.$('textField_l3batgnz').setValue(data.person)
// 收件电话
this.$('textField_l3batgo1').setValue(data.phonenum)
// 收件地址
let detail = data.province + data.city + data.county + data.town + data.detail
this.$('textField_l3batgo0').setValue(detail)
})