index.vue page initialization calls jsonp error document is not defined
export default {
//middleware: "auth",
data() {
return {
bidName:""
}
},
created:function(){
},
async asyncData(callback){
jsonp("xxxxx",null,(err,data)=>{
if(err){
console.log(err.Message);
}else{
console.log(data);
//return {info:data}
}
})
},
}