调用宝宝食谱接口

master
chen 2021-12-23 14:40:42 +08:00
parent e38043999c
commit 7c87f8d229
3 changed files with 10 additions and 7 deletions

View File

@ -102,7 +102,7 @@
babyAlbum,
yiqingmanagement
},
name: 'header',
name: 'v-header',
data() {
return {
titleArr: ['首页', '幼儿园介绍', '宝宝活动', '出勤详情', '宝宝相册', '疫情管理'],

View File

@ -235,12 +235,15 @@
chooseMeal(e) {
this.threeMealIndex = e;
},
//
calssDetailEv(){
//
babyRecipeEv(){
this.$axios({
// serviceAPI
url:this.$https.classDetail,
url:this.$https.babyRecipe,
methods:'get',
params:{
EquipmentID:'yaohaotest001'
}
}).then(res =>{
console.log(res.data);
}).catch(err => {
@ -249,7 +252,7 @@
}
},
mounted() {
this.babyRecipeEv();
}
}
</script>

View File

@ -1,6 +1,6 @@
const host = 'https://easy-mock.com/mock/5bcd8e154994296c2af093ea/SmileVue/'
const host = 'http://47.109.29.153:50012'
const url = {
classDetail: host + 'index',
babyRecipe: host + '/api/admin/electronicclasscard/babyfood',
}
module.exports = url