Explorar o código

small improvement

Michael Wang %!s(int64=6) %!d(string=hai) anos
pai
achega
ae90e80c60
Modificáronse 2 ficheiros con 0 adicións e 2 borrados
  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() {