diff --git a/h5/pages/main/bgcx/ckbg/ckbg.vue b/h5/pages/main/bgcx/ckbg/ckbg.vue index e4888e8..ff52cde 100755 --- a/h5/pages/main/bgcx/ckbg/ckbg.vue +++ b/h5/pages/main/bgcx/ckbg/ckbg.vue @@ -91,9 +91,9 @@ const collapseClick = async (e) => { } } // return - if(itemWithId120.hasOwnProperty("details")){ + if (itemWithId120.hasOwnProperty("details")) { console.log(itemWithId120["details"], "itemWithId120"); - return + return; } uni.showLoading({ title: "加载中", @@ -315,7 +315,8 @@ onShow(() => { > 全部检查 - + - + --> { 未见明显异常 { }); $response(response, () => { uni.hideLoading(); + if (!response.data.show) { + uni.showToast({ + title: "暂无数据", + icon: "none", + }); + uni.navigateBack({ + delta: 1, + }); + return; + } analysis_content.value = response.data.info; console.log(analysis_content.value); response.data.chart1_option.min = Number(response.data.chart1_option.min); diff --git a/h5/pages/main/combo/combo.vue b/h5/pages/main/combo/combo.vue index 20edc13..8c948f4 100644 --- a/h5/pages/main/combo/combo.vue +++ b/h5/pages/main/combo/combo.vue @@ -311,7 +311,7 @@ const toRouter = () => { - +