![](https://img-blog.csdnimg.cn/20201014180756738.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
vue.js
ikebo
ikebo.cc
展开
-
vue 中的 跨域问题
可以先参考这里, 这里把vue中跨域的原理讲清楚了,只是有两点需要注意 proxyTable: { '/api': { target: 'http://localhost:3000', changeOrigin: true, // pathRewrite: { // '^/...原创 2018-09-11 23:34:30 · 204 阅读 · 0 评论 -
mpvue 中的 getUserInfo
折腾了好一会儿,一直提示:do not have xx handler.. 是这样的 补充一点,这个方法要写在methods中,而例如onPullDownRefresh 的 处理方法应与methods 同级。原创 2018-09-03 20:01:48 · 381 阅读 · 0 评论