File tree Expand file tree Collapse file tree 2 files changed +3
-3
lines changed
src/packages/__VUE/elevator Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change 32
32
</view >
33
33
</nut-scroll-view >
34
34
<view v-show =" scrollY > 2 && isSticky" class =" nut-elevator__list__fixed" >
35
- <view class =" nut-elevator__list__fixed-title" >{{ indexList[currentIndex][acceptKey] }}</view >
35
+ <view class =" nut-elevator__list__fixed-title" >{{ indexList?. [currentIndex]?. [acceptKey] }}</view >
36
36
</view >
37
37
<view v-show =" scrollStart" v-if =" indexList.length > 0" class =" nut-elevator__code--current" >
38
- {{ indexList[codeIndex][acceptKey] }}
38
+ {{ indexList?. [codeIndex]?. [acceptKey] }}
39
39
</view >
40
40
<view class =" nut-elevator__bars" @touchstart =" touchStart" @touchmove.stop.prevent =" touchMove" @touchend =" touchEnd" >
41
41
<view class =" nut-elevator__bars__inner" >
Original file line number Diff line number Diff line change 22
22
</view >
23
23
<view v-show =" scrollStart" v-if =" indexList.length" class =" nut-elevator__code--current" >
24
24
{{
25
- indexList[codeIndex][acceptKey]
25
+ indexList?. [codeIndex]?. [acceptKey]
26
26
}}
27
27
</view >
28
28
<view class =" nut-elevator__bars" @touchstart =" touchStart" @touchmove.stop.prevent =" touchMove" @touchend =" touchEnd" >
You can’t perform that action at this time.
0 commit comments