Commit eb8f975d authored by zhangderong's avatar zhangderong

测试上线

parent 74299200
......@@ -725,14 +725,16 @@ export default {
let list = []
query = query.split('(')[0]
findCompanyEmailByKey(query).then(res => {
if(res.data.success==true){
list = res
this.options = list.data.body || []
this.options.map(item=>{
this.emailName=item.email
})
}
// this.options.push({name: '不限', email: ''})
})
}, 500);
}, 200);
} else {
this.options = [];
}
......
......@@ -1806,7 +1806,7 @@ import {mapState} from 'vuex'
this.loading1 = false;
query = query.split('(')[0]
let list = await findCompanyEmailByKey(query)
this.options = list.data.body
this.options = list.data.body || []
}, 200);
} else {
this.options = [];
......
......@@ -1763,7 +1763,7 @@ export default {
query = query.split('(')[0]
findCompanyEmailByKey(query).then(res => {
list = res
this.options = list.data.body
this.options = list.data.body || []
}, 200);
})
} else {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment