fix: 修复商品选择页数据获取
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
Agent
2026-03-25 15:03:58 +00:00
parent b7b11207ab
commit d8ba777fb4

View File

@@ -61,9 +61,7 @@ export default {
page: this.page, page: this.page,
pageSize: this.pageSize pageSize: this.pageSize
}) })
if (res.code === 0) { this.productList = res.records || []
this.productList = res.data.records || []
}
} catch (e) { } catch (e) {
uni.showToast({ title: '加载失败', icon: 'none' }) uni.showToast({ title: '加载失败', icon: 'none' })
} finally { } finally {