优化细节
This commit is contained in:
@@ -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)!;
|
||||
|
||||
|
||||
@@ -77,7 +77,7 @@
|
||||
@tap="open('birthday')"
|
||||
>
|
||||
<cl-text>{{ user.info.birthday }}</cl-text>
|
||||
<cl-text color="info" v-if="user.info['birthday'] == null">{{
|
||||
<cl-text color="info" v-if="user.info.birthday == null">{{
|
||||
t("选择生日")
|
||||
}}</cl-text>
|
||||
</cl-list-item>
|
||||
|
||||
Reference in New Issue
Block a user