Commit 0e53cca7 by 陈超

T

parent 0bbf59d6
......@@ -140,8 +140,8 @@
},
onTapItem: function(item) {
console.log("{:U('course/Video/view')}" + item.id)
//window.location.href = "{:U('course/Video/view')}" + item.id
let url = "{:U('course/Video/view')}"
window.location.href = url.replace(/\[.*?\]/g, item.id)
},
//Helper
......
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