feat: 列表记录商品名称取消兜底

This commit is contained in:
2026-06-04 13:53:40 +08:00
parent 4d86ead906
commit 3e331bba3d
2 changed files with 2 additions and 8 deletions
+1 -5
View File
@@ -66,14 +66,10 @@
const renderList = computed(() => (Array.isArray(props.list) ? props.list : []));
const toListRecord = (item) => {
const shopId = item?.id ?? '';
const skuId = item?.skuId ?? '';
const name = item?.name ?? '';
const url =
'/pages/index/listRecord' +
`?skuId=${encodeURIComponent(String(skuId))}` +
`&shopId=${encodeURIComponent(String(shopId))}` +
`&name=${encodeURIComponent(String(name))}`;
`?skuId=${encodeURIComponent(String(skuId))}`;
uni.navigateTo({ url });
};
</script>