Skip to content

Commit

Permalink
完善注释
Browse files Browse the repository at this point in the history
  • Loading branch information
JasonBai007 committed Dec 5, 2018
1 parent 15324bd commit d142052
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions src/main.js
Original file line number Diff line number Diff line change
Expand Up @@ -18,13 +18,12 @@ import '@/mock'
import ElementUI from 'element-ui';
import 'element-ui/lib/theme-chalk/index.css';
Vue.use(ElementUI);

// 使用登录页粒子效果插件
Vue.use(VueParticles)

// 将axios绑定到vue原型上
Vue.prototype.$axios = axios
// Vue 的全局配置
Vue.config.productionTip = false

// 上线全局请求配置
axios.defaults.baseURL = 'api/v1/'

Expand Down

0 comments on commit d142052

Please sign in to comment.