Explorar o código

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

zuohuaijun %!s(int64=3) %!d(string=hai) anos
pai
achega
fc9c5f0152
Modificáronse 1 ficheiros con 1 adicións e 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();
 				}
 			});
 		};