@@ -303,7 +303,7 @@
async getinfo() {
// 获取商品详情
- let data = await this.$api.request('/product/detail','GET',{
+ let data = await this.$api.request('/order/create','GET',{
id:this.id
});
@@ -189,11 +189,8 @@
console.log(menuButton);
this.pages = page.length,
- this.menuButton = menuButton,
-
- this.getinfo();
+ this.menuButton = menuButton,
+ this.getinfo();
},
/**
* 生命周期函数--监听页面初次渲染完成