release(other): 4.0.15
Some checks failed
CI Build & Upload (WeApp) / build-upload-prod (push) Has been cancelled
CI Build & Upload (WeApp) / build-upload-reserve (push) Has been cancelled
CI Build & Upload (WeApp) / build-upload-dev (push) Has been cancelled

This commit is contained in:
2025-11-05 11:32:38 +08:00
parent ef380ff569
commit 985c8fa766
3 changed files with 8 additions and 4 deletions

View File

@@ -97,7 +97,11 @@ const getList = async () => {
const res = await getActiveOrderList({
status: tabValue.value,
});
orderList.value = res.data.data;
if (res.data.data.length >= 2) {
orderList.value = res.data.data.slice(0, 2);
} else {
orderList.value = res.data.data;
}
} catch (error) {
Taro.showToast({
title: error.msg,