download () {
let params = {
qq: this.cacheFormData.qq,
ww: this.cacheFormData.ww,
ee: this.cacheFormData.ee,
rr: this.cacheFormData.rr,
tt: this.cacheFormData.tt
}
let arr = []
Object.keys(params).forEach(key => {
if (params[key]) {
arr.push(key + '=' + params[key])
}
})
let str = '?' + arr.join('&')
window.location.href = apiUrl + str
}
网友评论