fix(myCar): 在获取车辆列表API中添加verification_status参数
添加verification_status参数以过滤未验证的车辆,确保列表只显示已验证车辆
Showing
1 changed file
with
2 additions
and
2 deletions
| 1 | <!-- | 1 | <!-- |
| 2 | * @Date: 2022-09-19 14:11:06 | 2 | * @Date: 2022-09-19 14:11:06 |
| 3 | * @LastEditors: hookehuyr hookehuyr@gmail.com | 3 | * @LastEditors: hookehuyr hookehuyr@gmail.com |
| 4 | - * @LastEditTime: 2025-07-16 14:46:56 | 4 | + * @LastEditTime: 2025-07-16 15:11:40 |
| 5 | * @FilePath: /jgdl/src/pages/myCar/index.vue | 5 | * @FilePath: /jgdl/src/pages/myCar/index.vue |
| 6 | * @Description: 文件描述 | 6 | * @Description: 文件描述 |
| 7 | --> | 7 | --> |
| ... | @@ -256,7 +256,7 @@ const fetchCarList = async (page = 0, append = false) => { | ... | @@ -256,7 +256,7 @@ const fetchCarList = async (page = 0, append = false) => { |
| 256 | 256 | ||
| 257 | try { | 257 | try { |
| 258 | // 调用真实API获取车辆列表 | 258 | // 调用真实API获取车辆列表 |
| 259 | - const response = await getMyListingVehicleAPI({ page, limit: pageSize.value }) | 259 | + const response = await getMyListingVehicleAPI({ page, limit: pageSize.value, verification_status: 1 }) |
| 260 | 260 | ||
| 261 | if (response.code === 1) { | 261 | if (response.code === 1) { |
| 262 | const { list, total } = response.data | 262 | const { list, total } = response.data | ... | ... |
-
Please register or login to post a comment