• tuition-main.js




    /** * Created by wensonsmith on 2017/12/5. */ import Vue from 'vue' import axios from 'axios' import Qs from 'qs' import router from './src/router' import store from './src/store' import App from './app.vue' import Icon from 'vue-svg-icon/Icon.vue' import { ToastPlugin,LoadingPlugin } from 'vux' Vue.use(ToastPlugin) Vue.use(LoadingPlugin) let http = axios.create({ timeout: 5000, responseType: 'json', // default headers: { 'Content-Type': 'application/x-www-form-urlencoded;charset=UTF-8' }, transformRequest: [(data) => { return Qs.stringify(data) }], withCredentials: false, }); Vue.component('icon', Icon) Vue.prototype.$http = http new Vue({ el: '#app', router, store, render: h => h(App) })
  • 相关阅读:
    zoj 2812
    按1的个数排序
    输出等腰梯形
    约瑟夫环杂题
    九度oj 题目1369:字符串的排列
    .NET CORE LOG
    .NET CORE 配置
    dotnet core 数据库
    asp.net core mvc简介
    dotnet core 项目
  • 原文地址:https://www.cnblogs.com/MR-cui/p/8478980.html
Copyright © 2020-2023  润新知