this.$http.post ||this.$http.put||vue 獲取url參


getClasslist() {
this.$http.get('/xxxxx/childlist', {
params: {
ServiceUnitId: localStorage.getItem("CooperatedId"),
}
}).then((res) => {
}

this.$http.get('xxxxxxxxxxxw/xlogin',{params:{
Code:codeVal,
AutoCreateChild:false
}}).then((res) => {}
}

// 一刷新就執行:
mounted() {
this.getUserslist();
this.getClasslist();
}

this.$http.post
this.$http.put

skippersonalinfo: function(id,childname) {
router.push({
path: '/personalinfo?ChildId=' + id+'&ChildName='+childname
})
},
// 獲取url參數
var query = this.$route.query;


免責聲明!

本站轉載的文章為個人學習借鑒使用,本站對版權不負任何法律責任。如果侵犯了您的隱私權益,請聯系本站郵箱yoyou2525@163.com刪除。



 
粵ICP備18138465號   © 2018-2026 CODEPRJ.COM