This commit is contained in:
李瑞
2025-09-13 18:16:09 +08:00
parent 076c0ed980
commit 171687085b
3 changed files with 7 additions and 8 deletions

View File

@@ -51,7 +51,7 @@ const ListPage = () => {
// 只有当状态需要改变时才更新
if (shouldShowInputNav && !isShowInputCustomerNavBar) {
updateState({ isShowInputCustomerNavBar: true });
} else if (!shouldShowInputNav && isShowInputCustomerNavBar) {
} else {
updateState({ isShowInputCustomerNavBar: false });
}
});
@@ -117,7 +117,7 @@ const ListPage = () => {
Taro.showToast({
title: "刷新成功",
icon: "success",
duration: 1500,
duration: 1000,
});
} catch (error) {
// 刷新失败时也停止动画
@@ -126,7 +126,7 @@ const ListPage = () => {
Taro.showToast({
title: "刷新失败,请重试",
icon: "error",
duration: 1500,
duration: 1000,
});
}
});