You've already forked guangan-mp
1.0.0
This commit is contained in:
14
uni_modules/uni-ajax/js_sdk/index.js
Normal file
14
uni_modules/uni-ajax/js_sdk/index.js
Normal file
@ -0,0 +1,14 @@
|
||||
import Ajax from './lib/core/Ajax'
|
||||
import Fetcher from './lib/adapters/Fetcher'
|
||||
|
||||
const ajax = Ajax()
|
||||
|
||||
ajax.create = function create(instanceConfig) {
|
||||
return Ajax(instanceConfig)
|
||||
}
|
||||
|
||||
ajax.Fetcher = Fetcher
|
||||
|
||||
export { Fetcher }
|
||||
|
||||
export default ajax
|
Reference in New Issue
Block a user