增加提示
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user