UNPKG
@pit-front-end/components
Version:
latest (1.0.7)
1.0.7
1.0.6
1.0.5
0.0.4
0.0.3
0.0.2
0.0.1
湖南创智艾泰克科技有限公司
@pit-front-end/components
/
dist
/
es
/
hooks
/
use-global-properties
/
index.js
9 lines
(8 loc)
•
180 B
JavaScript
View Raw
1
2
3
4
5
6
7
8
9
import
{ getCurrentInstance
as
e }
from
"vue"
;
function
n
(
) {
const
t =
e
();
return
t ? t.
appContext
.
app
.
config
.
globalProperties
: {}; }
export
{ n
as
useGlobalProperties };