Commit 1d349587 by 冷斌

fix bug

parent ed2d34e9
......@@ -219,8 +219,6 @@
methods: {
onItem: function(item) {
if(this.tab == 2) {
console.log(item, item.goods_id);
return false;
window.location.href = "/mall/"+item.goods_id+".html";
} else if(this.tab == 0) {
let url = "{:U('course/Video/view')}"
......@@ -295,7 +293,8 @@
uid: r.uid,
title: r.title,
cover: r.cover,
price: r.price
price: r.price,
goods_id: r.goods_id
}}))
opt.page = res.nowPage
opt.finished = res.nowPage >= res.totalPages
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment