Explorar o código

Vue.prototype.$request =request

twt %!s(int64=2) %!d(string=hai) anos
pai
achega
8efb58fe88
Modificáronse 1 ficheiros con 1 adicións e 0 borrados
  1. 1 0
      main.js

+ 1 - 0
main.js

@@ -5,6 +5,7 @@ Vue.prototype.$common =common
 
 import request from '@/utils/request.js'
 Vue.prototype.$http = request.http
+Vue.prototype.$request =request
 import store from './store'
 Vue.prototype.$store = store // 定义成全局组件
 // #ifndef VUE3