UNPKG
@slan-health/taro-vueuse
Version:
latest (0.1.1)
0.1.1
0.1.0
0.0.8
0.0.7
0.0.6
0.0.5
0.0.4
taro vue版本hooks
@slan-health/taro-vueuse
/
dist
/
useRequest
/
useRequestProvider.js
10 lines
(9 loc)
•
276 B
JavaScript
View Raw
1
2
3
4
5
6
7
8
9
10
import
{ provide }
from
"vue"
;
import
{
GLOBAL_OPTIONS_PROVIDE_KEY
}
from
"./core/config.js"
;
const
useRequestProvider
= (
config
) => {
provide
(
GLOBAL_OPTIONS_PROVIDE_KEY
, config); };
export
{ useRequestProvider
as
default
};
//# sourceMappingURL=useRequestProvider.js.map