-
+
({})
-
const beforeUpload = async (data: any) => {
// 图片类型校验
if (
@@ -391,13 +399,11 @@ const handlePhoneBind = (e: MouseEvent) => {
phone: modelData.phone,
});
- model.value = {
- id: '',
- b64s: '',
- imgCaptcha: '',
- phone: null,
- phone_captcha: null,
- };
+ modelData.id = '';
+ modelData.b64s = '';
+ modelData.imgCaptcha = '';
+ modelData.phone = '';
+ modelData.phone_captcha = '';
})
.catch((err) => {
binding.value = false;