Commit 78f7f6f5 by zhangxw

展开收起优化

1 parent 9ea2927b
...@@ -55,6 +55,9 @@ Component({ ...@@ -55,6 +55,9 @@ Component({
collapseClick(e) { collapseClick(e) {
let { key, flag } = e.currentTarget.dataset let { key, flag } = e.currentTarget.dataset
let { activeList } = this.data let { activeList } = this.data
this.setData({
activeDateIndex: 0
})
activeList.forEach((val, idx) => { activeList.forEach((val, idx) => {
if (key == idx) { if (key == idx) {
if (flag && !val.missionList) { if (flag && !val.missionList) {
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!