解决YUM下Loaded plugins: fastestmirror Determining fastest mirrors 的错误问题 Centons下 其大概意思是fastestmirror不能使用,fastestmirror是yum的一个加速插件,具体我也没有仔细了解过,可能是系统不支持或者缺少组建导致的。处理办法就是禁用这个插件...
mpvue代替v-html方法,解决ajax返回html方法 https://github.com/F-loat/mpvue-wxParse https://github.com/ifanrx/wxParser-plugin 使用以上两种插件都可以,不要求性能用...
如何搭建ss代理 Cent: yum -y install epel-release yum install python-pip pip install shadowsocks 1 2 Ubuntu: ...
vue雪花飘落组件 安装: npm install --save vue-let-it-snow 复制代码在 index.js 中应用: import Vue from 'vue' import LetItSnow fr...
前后端分离使用 Token 登录解决方案 这篇文章写一下前后端分离下的登录解决方案,目前大多数都采用请求头携带 Token 的形式。 开写之前先捋一下整理思路: 首次登录时,后端服务器判断用户账号密码正确之后,根据用户id、用户名、定义好的秘...
微信小程序mpvue使用flyio通过post提交给后台 formdata fly.interceptors.request.use((config,promise)=>{ config.headers["Content-Type"]="applica...
微信小程序使用post提交java后台 wx.request({ url : "http://mall.vstob.com/public/checkWXMobileAndUserName", method: "POST", data: { ...
vue跨域获取自定义头标签 在使用CORS方式跨域时,浏览器只会返回以下默认头部header: response header Content-Language Content-Type Expires Last-Modifie...
微信小程序mpvue使用锚点,滚动到指定位置 使用scroll-view组件,通过scrolll-into-view方法滚动到指定位置,当滚动到指定位置时候清空值,但是滚动时获取元素高度实现滚动指定文字修改颜色 html: <templat...
微信小程序如何获取某个元素的高度? <view class="usermotto" style="height:213px;" id='mjltest'/> //创建节点选择器 var query = wx.createSe...