release(other): 4.0.15
This commit is contained in:
2
components.d.ts
vendored
2
components.d.ts
vendored
@@ -3,7 +3,7 @@
|
||||
// Generated by unplugin-vue-components
|
||||
// Read more: https://github.com/vuejs/core/pull/3399
|
||||
// biome-ignore lint: disable
|
||||
export {};
|
||||
export {}
|
||||
|
||||
/* prettier-ignore */
|
||||
declare module 'vue' {
|
||||
|
||||
@@ -1,8 +1,8 @@
|
||||
{
|
||||
"name": "jdt-user",
|
||||
"version": "4.0.14",
|
||||
"version": "4.0.15",
|
||||
"taroConfig": {
|
||||
"version": "4.0.14"
|
||||
"version": "4.0.15"
|
||||
},
|
||||
"scripts": {
|
||||
"build:weapp": "taro build --type weapp",
|
||||
|
||||
@@ -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