- 博客(2)
- 收藏
- 关注
原创 vue实现直播弹幕功能
1.代码如下 Vue-barrage 基于vue的弹幕组件 2.在component 里面创建 index.vue 代码如下
2020-12-04 16:17:32
700
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
111
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人