fix:修复首页日历快速点击bug和底部tabbar清空历史跳转bug

master
blak-kong 2 years ago
parent a064005161
commit 497027c311

@ -3,6 +3,8 @@ import dayjs from "dayjs";
import React from "react";
import Taro, { Events } from "@tarojs/taro";
import { throttle } from "lodash";
import { Swiper, SwiperItem, View, Image } from "@tarojs/components";
import {
BaseEventOrig,
@ -429,7 +431,10 @@ export default class AtCalendarBody extends React.Component<any, any> {
<AtCalendarDateList list={temporaryCalendar} />
</View>
</View>
<View className="arrow_box" onClick={this.onChangeFoldingCalendar}>
<View
className="arrow_box"
onClick={throttle(this.onChangeFoldingCalendar.bind(this), 800)}
>
<Image
className={classnames("arrow", {
"arrow-rotate": isFolding,

@ -15,7 +15,7 @@ export default class Index extends Component {
isShowPrivacyPopup: true,
isMask: false,
isNotRegister: false,
selected: 2,
selected: 0,
color: "#999",
selectedColor: "#000",
backgroundColor: "#ffffff",

Loading…
Cancel
Save