fix:图片地址更改,接口数据传输修改,添加h5、app跳转直播

This commit is contained in:
kele
2023-03-10 16:32:24 +08:00
parent 8eb4e4609d
commit c34e10cdc5
7 changed files with 33 additions and 20 deletions
+2 -5
View File
@@ -36,15 +36,12 @@
data: [],
});
async function getDetail(id, item_id) {
const { error, data } = await sheep.$api.order.itemDetail({
id: id,
item_id: item_id,
});
const { error, data } = await sheep.$api.order.itemDetail(id,item_id);
if (error === 0) {
state.data = data;
}
}
onLoad(async (options) => {
onLoad((options) => {
getDetail(options.id, options.item_id);
});
</script>