vue移动端 最近在用vue2.0做微信公众号相关的前端开发,经过这次开发实践,现将项目中用到的相关比较实用的插件及遇到的相关问题进行整理,希望和大家共同交流...... cssrem:一个CSS值转REM的VSCode插件; lib-flexible:移动端弹性布局适配解决方案; vue-touch:移动端相关点击...
linux如何加载ntfs格式硬盘 1、 首先们需要下载ntfs-3g 。 http://www.tuxera.com/community/ntfs-3g-download/ 2 、 然后解压进行安装 [guo@guo ~]$ tar xvzf ntfs-3g_ntfsprogs-2012.1.15.tgz [root@guo ~]#./...
执行./configure时报错,configure: error: no acceptable C sudo yum install gcc-c++ (使用sudo yum install gcc-c++时会自动安装/升级gcc及其他依赖的包。) 重新执行 ./configure make make install 成功!
linux安装node yum -y install wget wget https://nodejs.org/dist/v6.10.1/node-v6.10.1-linux-x64.tar.xz 根据下载的文件可以看出它的压缩方式是.xz的方式,所以不能直接使用linux命令tar直接下载。需要下载能够解压这种格式的工具。我...
解决YUM下Loaded plugins: fastestmirror Determining fastest mirrors 的错误问题 Centons下 其大概意思是fastestmirror不能使用,fastestmirror是yum的一个加速插件,具体我也没有仔细了解过,可能是系统不支持或者缺少组建导致的。处理办法就是禁用这个插件,方法如下: root@www.ctohome.com]# vi /etc/yum/pluginconf...
mpvue代替v-html方法,解决ajax返回html方法 https://github.com/F-loat/mpvue-wxParse https://github.com/ifanrx/wxParser-plugin 使用以上两种插件都可以,不要求性能用第一种, npm i mpvue-wxparse 使用 < template > < div > < w...
如何搭建ss代理 Cent: yum -y install epel-release yum install python-pip pip install shadowsocks 1 2 Ubuntu: apt-get install python-pip pip install shadowsocks 1 2 至此,你...
vue雪花飘落组件 安装: npm install --save vue-let-it-snow 复制代码在 index.js 中应用: import Vue from 'vue' import LetItSnow from 'vue-let-it-snow'; Vue.use(LetItSnow); 复制代码在某个你想有...
前后端分离使用 Token 登录解决方案 这篇文章写一下前后端分离下的登录解决方案,目前大多数都采用请求头携带 Token 的形式。 开写之前先捋一下整理思路: 首次登录时,后端服务器判断用户账号密码正确之后,根据用户id、用户名、定义好的秘钥、过期时间生成 token ,返回给前端; 前端拿到后端返回的 token ,存储在 localStr...
微信小程序mpvue使用flyio通过post提交给后台 formdata fly.interceptors.request.use((config,promise)=>{ config.headers["Content-Type"]="application/x-www-form-urlencoded"; return config; }) fly.post...