Selaa lähdekoodia

small improvement

Michael Wang 6 vuotta sitten
vanhempi
commit
ae90e80c60
2 muutettua tiedostoa jossa 0 lisäystä ja 2 poistoa
  1. 0 1
      src/plugins/axiosApp.js
  2. 0 1
      src/plugins/axiosCommonService.js

+ 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() {