diff --git a/web/src/views/Setting.vue b/web/src/views/Setting.vue index b68a360f..f29e7d71 100644 --- a/web/src/views/Setting.vue +++ b/web/src/views/Setting.vue @@ -94,7 +94,11 @@
- +
- + ({}) - 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;