Commit 31a3b57f authored by mengcuiguang's avatar mengcuiguang

代码优化

parent 6b92565a
......@@ -502,19 +502,19 @@
});
},
cancelCollect(vedioId, index) {
this.showSignPop = true
// this.showSignPop = true
this.data.collect = 0
// // 取消收藏
// this.post({
// url: '/vedio/cancelCollect',
// data: {
// vedioId
// },
// showLoading: false,
// success: ({
// data
// }) => {}
// });
// 取消收藏
this.post({
url: '/vedio/cancelCollect',
data: {
vedioId
},
showLoading: false,
success: ({
data
}) => {}
});
},
commitVideo() {
// 提交后台
......
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