methedA: function(row) {
...
...
...
let _this -= this
this.findUser(row).then(function(result) {
_this.ouVal = result
})
...
...
...
}
async findUser(row) {
let list = []
await this.$axios
.post('/api/user/findUser', params)
.then(rsp => {
list = [...rsp.data.list]
})
.catch(error => {
})
return list
}
欢迎分享,转载请注明来源:内存溢出
评论列表(0条)