axios
axios.get("/api/show/" + this.$route.params.id).then(reponse => { console.log(reponse.data); this.list = reponse.data; })
子组键
components:{
wlphp
}
页面自动加载方法
mounted() { console.log("APP开始!"); axios.get("/api/show/" + this.$route.params.id).then(reponse => { console.log(reponse.data); this.list = reponse.data; }) },
边写边记