UNPKG
vant-fork
Version:
latest (1.3.6)
1.3.6
1.3.5
1.3.4
Lightweight Mobile UI Components built on Vue
github.com/youzan/vant
youzan/vant
vant-fork
/
packages
/
mixins
/
popup
/
context.js
15 lines
(12 loc)
•
186 B
JavaScript
View Raw
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
export
default
{ id:
1
, zIndex:
2000
, stack: [], lockCount:
0
,
plusKey
(key) {
return
this
[key]++; },
get
top
()
{
return
this
.stack[
this
.stack.length -
1
]; } };