- 博客(2)
- 收藏
- 关注
原创 vue实现直播弹幕功能
1.代码如下 Vue-barrage 基于vue的弹幕组件 2.在component 里面创建 index.vue 代码如下
2020-12-04 16:17:32
601
2
原创 1.处理vue跨域问题
处理跨域问题: 注意点:index.js里面 如果设置统一值 的medtionHost不能放在vue.config.js中1.在vue.config.js中 加在desServer里面加proxy: {“^/ocs”: {target: “http://www.medtion.com/ocs”, //目标接口域名 // secure: false, //false为http访问,true为https访问changeOrigin: true, //是否跨域pathRewrite: {“^/
2020-12-04 14:47:07
59
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人