Michael Wang 6 жил өмнө
parent
commit
ae90e80c60

+ 0 - 1
src/plugins/axiosApp.js

@@ -111,7 +111,6 @@ _axiosApp.get = cachingGet(_axiosApp.get, []);
 loadProgressBar(_axiosApp);
 
 Plugin.install = function(Vue) {
-  Vue.$http = _axiosApp;
   Object.defineProperties(Vue.prototype, {
     $http: {
       get() {

+ 0 - 1
src/plugins/axiosCommonService.js

@@ -111,7 +111,6 @@ _axiosCommonService.get = cachingGet(_axiosCommonService.get, []);
 loadProgressBar(_axiosCommonService);
 
 Plugin.install = function(Vue) {
-  Vue.$httpCommonService = _axiosCommonService;
   Object.defineProperties(Vue.prototype, {
     $httpCommonService: {
       get() {