Commit fcf01e49 by 冷斌

fix bug

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