首页+图书详情
This commit is contained in:
@@ -315,11 +315,13 @@
|
||||
methods: {
|
||||
// 根据bookid查询商品id
|
||||
getProid(){
|
||||
console.log(this.bookid,'this.bookid传过来的值')
|
||||
this.$http
|
||||
.post('book/shopproduct/bookinfo/' + this.bookid)
|
||||
.then(res => {
|
||||
if (res.code == 0) {
|
||||
this.shangIDNum = res.shopProduct.productId
|
||||
console.log(this.shangIDNum,'this.shangIDNum')
|
||||
// console.log(res,'详情res')
|
||||
this.getShangList(this.shangIDNum);
|
||||
this.getData()
|
||||
|
||||
Reference in New Issue
Block a user