diff --git a/uni_modules/uni-id-pages-x/components/uni-id-pages-x-loginBySmsCode/uni-id-pages-x-loginBySmsCode.uvue b/uni_modules/uni-id-pages-x/components/uni-id-pages-x-loginBySmsCode/uni-id-pages-x-loginBySmsCode.uvue index 0a5ca6a86443c005f39b404f08541ff14cb438c5..0efb1fb44399010f46f521f2e0a9d791fa7ebcea 100644 --- a/uni_modules/uni-id-pages-x/components/uni-id-pages-x-loginBySmsCode/uni-id-pages-x-loginBySmsCode.uvue +++ b/uni_modules/uni-id-pages-x/components/uni-id-pages-x-loginBySmsCode/uni-id-pages-x-loginBySmsCode.uvue @@ -32,6 +32,9 @@ this.showPopupCaptcha(callback) }) }, + unmounted() { + uni.$off('uni-id-pages-x-loginBySmsCode-showPopupCaptcha') + }, methods: { sendSmsCode() { this.smsCodeRef!.$callMethod('sendSmsCode',true);