<view class="login-button" @click="preLogin(1)">登录</view>
preLogin(loginType) {
console.log(22);
this.loginType = loginType
if (this.agreeChecked && this.agreeChecked.length <= 0) {
this.showAgreeModal = true
return
}
this.toLogin()
},
点击一次登陆,直接执行多次所有方法都是这样的
2***@qq.com (作者)
所有代码都删了打印还是会打印多次
2025-09-23 09:46