DESKTOP-SVI9JE1\muzen 2 years atrás
parent
commit
85d023bd76
1 changed files with 3 additions and 0 deletions
  1. 3 0
      src/main.js

+ 3 - 0
src/main.js

@@ -1,8 +1,11 @@
 import Vue from 'vue'
 import App from './App'
+import axios from 'axios'
 
 Vue.config.productionTip = false
 
+Vue.prototype.$axios = axios
+
 // 打开App
 Vue.prototype.openApp = function (page, channel, audioType, audioId) {
   //