随笔 - 193  文章 - 0  评论 - 8  阅读 - 32万 
09 2017 档案
vue中alert toast confirm loading 公用
摘要:import Vue from 'vue' import { ToastPlugin, AlertPlugin, ConfirmPlugin, LoadingPlugin } from 'vux' /*import { Promise } from 'es6-promise';*/ Vue.use( 阅读全文
posted @ 2017-09-30 16:40 仔仔爱学习 阅读(3841) 评论(0) 推荐(0) 编辑
vue 跳外链
摘要:var host = window.location.host;var protocal = window.location.protocolwindow.location.href = protocal+'//'+host+'/store/record/index?type=2' 阅读全文
posted @ 2017-09-26 16:47 仔仔爱学习 阅读(1452) 评论(1) 推荐(0) 编辑
vue 中使用 Toast弹框
摘要:import { ToastPlugin,ConfirmPlugin,AlertPlugin} from 'vux' Vue.use(ToastPlugin) Vue.use(ConfirmPlugin) Vue.use(AlertPlugin) //公用的弹窗(全局变量)Vue.prototype 阅读全文
posted @ 2017-09-22 09:30 仔仔爱学习 阅读(17074) 评论(0) 推荐(0) 编辑
vue 添加vux
摘要:1、命令添加vux npm install vux --save 2、在build/webpack.base.conf.js中配置 const vuxLoader = require('vux-loader') const webpackConfig = originalConfig // 原来的 阅读全文
posted @ 2017-09-11 10:19 仔仔爱学习 阅读(3533) 评论(0) 推荐(0) 编辑

点击右上角即可分享
微信分享提示