release(other): 4.0.15
This commit is contained in:
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user