写法一
this.$axios({
method: 'get',
url: '/initTime'
}).then((res) => {
console.log(res)
})
写法二
this.$axios.get('ycxflzws/lzWebService.asmx/idx_getcommunity',
{
params: {
'username': this.uid
}
}).then(this.JGgetInfoSucc)
JGgetInfoSucc (res) {}