Explorar el Código

修复旋转验证控件为空的情况

zuohuaijun hace 3 años
padre
commit
fc9c5f0152
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  1. 1 1
      Web/src/views/login/component/account.vue

+ 1 - 1
Web/src/views/login/component/account.vue

@@ -182,7 +182,7 @@ export default defineComponent({
 				} else {
 					state.verifyVisible = true;
 					state.isPass = false;
-					dragRef.value.reset();
+					dragRef.value?.reset();
 				}
 			});
 		};