UNPKG
cmp-mvue-toolkit
Version:
latest (1.0.65)
1.0.65
mvue project toolkit components
github.com/bingo-oss/mvue-toolkit
bingo-oss/mvue-toolkit
cmp-mvue-toolkit
/
src
/
libs
/
extend
/
context.js
19 lines
(17 loc)
•
272 B
JavaScript
View Raw
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
/** * 运行的vue上下文参数 */
var
context={
vue
:
null
}
export
default
{
init
:
function
(
vue
) { context.
vue
=vue; },
getContext
:
function
(
) {
return
context; },
getCurrentVue
:
function
(
) {
return
context.
vue
; } }