Sfoglia il codice sorgente

注册审核没有设备不选设备

wgl 4 anni fa
parent
commit
f45cf03aa2

+ 1 - 1
src/projects/business/views/Master/Company/RegisterSelectDevice.vue

@@ -93,7 +93,7 @@
 			//表单检测
 			checkForm() {
 				//只要要检测的时候才检测
-				if (!this.subForm.deviceIds && this.hasSceneId4 == '0') {
+				if (this.recordList.length>0 && !this.subForm.deviceIds && this.hasSceneId4 == '0') {
 					mui.toast('请选择设备');
 					return false;
 				} else {