Browse Source

small improvement

Michael Wang 6 năm trước cách đây
mục cha
commit
ae90e80c60
2 tập tin đã thay đổi với 0 bổ sung2 xóa
  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() {