kkkkk 5 anos atrás
pai
commit
3c3130ef02
2 arquivos alterados com 2 adições e 3 exclusões
  1. 1 2
      src/components/videoList.vue
  2. 1 1
      vue.config.js

+ 1 - 2
src/components/videoList.vue

@@ -54,12 +54,11 @@ export default {
 				}
 			];
 			setTimeout(function() {
-				let player = videojs('video-' + position); //my-player为页面video元素的id
+				let player = videojs('video-' + position);
 				player.ready(function() {
 					var obj = this;
 					obj.src(story_sources);
 					that.videoComponentList.push(player);
-					console.log('视频初始化:' + that.$global.baseMediaUrl + stream);
 				});
 			}, 1000);
 			return 'video-' + position;

+ 1 - 1
vue.config.js

@@ -2,7 +2,7 @@ module.exports = {
   devServer: {
     proxy: {
       '/bpi': {                                //   以'/bpi'开头的请求会被代理进行转发
-        target: 'http://218.59.173.214:801/index/api',       //   要发向的后台服务器地址  如果后台服务跑在后台开发人员的机器上,就写成 `http://ip:port` 如 `http:192.168.12.213:8081`   ip为后台服务器的ip
+        target: 'http://localhost:801/index/api',       //   要发向的后台服务器地址  如果后台服务跑在后台开发人员的机器上,就写成 `http://ip:port` 如 `http:192.168.12.213:8081`   ip为后台服务器的ip
         changeOrigin: true                     
       }
     }