TonyHalaMadrid

Results 5 comments of TonyHalaMadrid

前后端分离,需要配置代理,https://vuejs-templates.github.io/webpack/proxy.html // config/index.js module.exports = { // ... dev: { proxyTable: { // proxy all requests starting with /api to jsonplaceholder '/api': { target: 'http://jsonplaceholder.typicode.com', changeOrigin: true, pathRewrite: { '^/api':...

我来填个坑,需要require('swiper/dist/css/swiper.css')

每个服务器返回的成功标志不一样,大部分返回status=200 //返回状态判断 axios.interceptors.response.use((res) =>{ if(!res.status==200){ // _.toast(res.data.msg); return Promise.reject(res); } return res; }, (error) => { // _.toast("网络异常", 'fail'); return Promise.reject(error); }); 把楼主的if (!res.data.success) 改为 if(!res.status==200) 我本地测试OK

Hi @lShinal @rickysullivan @GyrosOfWar I think it's not a bug, I just checked the source code, remove: (index: number) => FieldValue . the function of remove accept a para "index",...

Also encounter this issue... Could anyone tell me how to avoid this issue ?