提交 efed8869 编写于 作者: yi.li's avatar yi.li

优化短视频查看

上级 f45e2074
...@@ -72,11 +72,16 @@ ...@@ -72,11 +72,16 @@
} }
}, },
watch: { watch: {
id(val){ showVideoDetail(val) {
console.log('当前查看id',val); if (val) {
this.init(val) this.init(this.id)
} }
}, },
// id(val){
// console.log('当前查看id',val);
// this.init(val)
// }
},
computed: { computed: {
setSrc(){ setSrc(){
return function (index) { return function (index) {
......
Markdown 格式
0% or
您添加了 0 到此讨论。请谨慎行事。
先完成此消息的编辑!
想要评论请 注册