增加提示

This commit is contained in:
2025-11-18 17:23:18 +08:00
parent 6a78d186d0
commit 12cd42fbf1
2 changed files with 10 additions and 0 deletions

View File

@@ -70,6 +70,10 @@ class CarInfoController extends GetxController with BaseControllerMixin {
/// 跳转到证件查看页面
void navigateToCertificateViewer(String title, List<String> attachments) {
if(!StorageService.to.hasVehicleInfo){
showToast('请先绑定车辆');
return;
}
if (attachments.isEmpty) {
showToast('暂无相关证件附件');
return;