随笔 - 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(
阅读全文
vue 跳外链
摘要:var host = window.location.host;var protocal = window.location.protocolwindow.location.href = protocal+'//'+host+'/store/record/index?type=2'
阅读全文
vue 中使用 Toast弹框
摘要:import { ToastPlugin,ConfirmPlugin,AlertPlugin} from 'vux' Vue.use(ToastPlugin) Vue.use(ConfirmPlugin) Vue.use(AlertPlugin) //公用的弹窗(全局变量)Vue.prototype
阅读全文
vue 添加vux
摘要:1、命令添加vux npm install vux --save 2、在build/webpack.base.conf.js中配置 const vuxLoader = require('vux-loader') const webpackConfig = originalConfig // 原来的
阅读全文