Commit 5a341bd9 by 冷斌

fix bug

parent 59d7431e
......@@ -219,10 +219,8 @@
methods: {
onItem: function(item) {
if(this.tab == 2) {
console.log(item);
return;
let url = "{:U('mall/Goods/view')}"
window.location.href = url.replace(/\[.*?\]/g, item.id)
window.location.href = url.replace(/\[.*?\]/g, item.goods_id)
} else if(this.tab == 0) {
let url = "{:U('course/Video/view')}"
window.location.href = url.replace(/\[.*?\]/g, item.id)
......
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