Michael Wang 6 роки тому
батько
коміт
ae90e80c60
2 змінених файлів з 0 додано та 2 видалено
  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);
 loadProgressBar(_axiosApp);
 
 
 Plugin.install = function(Vue) {
 Plugin.install = function(Vue) {
-  Vue.$http = _axiosApp;
   Object.defineProperties(Vue.prototype, {
   Object.defineProperties(Vue.prototype, {
     $http: {
     $http: {
       get() {
       get() {

+ 0 - 1
src/plugins/axiosCommonService.js

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