This commit is contained in:
zdx
2020-12-31 08:45:07 +08:00
3 changed files with 137 additions and 136 deletions

View File

@@ -22,7 +22,9 @@ Page({
* 生命周期函数--监听页面加载
*/
onLoad() {
wx.$api.video.videos().then(res => {
wx.$api.video.videos({
company_id: wx.getStorageSync("compayId")
}).then(res => {
this.setData({
videoList: res,
videoId: res[0].video_id