|
|
@@ -34,6 +34,7 @@
|
|
|
<cl-svg
|
|
|
v-else
|
|
|
class="h-full w-full pointer-events-none"
|
|
|
+ color="none"
|
|
|
:src="captcha.img"
|
|
|
></cl-svg>
|
|
|
</view>
|
|
|
@@ -144,7 +145,12 @@ async function getCaptcha() {
|
|
|
};
|
|
|
|
|
|
await service.user.login
|
|
|
- .captcha({ color: isDark.value ? "#ffffff" : "#2c3142", phone: props.phone })
|
|
|
+ .captcha({
|
|
|
+ color: isDark.value ? "#ffffff" : "#2c3142",
|
|
|
+ phone: props.phone,
|
|
|
+ width: 200,
|
|
|
+ height: 70
|
|
|
+ })
|
|
|
.then((res) => {
|
|
|
const data = parse<Res>(res)!;
|
|
|
|