diff --git a/other-module/canteen-device/raw-veg-inspection-scale/01-verify-inspection.html b/other-module/canteen-device/raw-veg-inspection-scale/01-verify-inspection.html index 9ad4bd5..4ad651d 100644 --- a/other-module/canteen-device/raw-veg-inspection-scale/01-verify-inspection.html +++ b/other-module/canteen-device/raw-veg-inspection-scale/01-verify-inspection.html @@ -1160,11 +1160,12 @@ /* 根据来源设置返回目标页 */ refererPage = detectRefererPage(); - document.getElementById('topBackBtn').href = refererPage; + var backBtn = document.getElementById('topBackBtn'); + if (backBtn) backBtn.href = refererPage; initDirectSupplierSelect(); renderOrderCards(); - bindBackBtn(); + if (backBtn) bindBackBtn(); bindCameraClick(); }