混淆,改动代码
This commit is contained in:
@@ -37,7 +37,7 @@
|
||||
<button class="confirm-btn" @click="toRegister">注册</button>
|
||||
<button class="confirm-btn" @click="toLogin">登录</button>
|
||||
</view>
|
||||
<view class="footer">
|
||||
<view class="footerView">
|
||||
<text @tap="isShowAgree" class="cuIcon"
|
||||
:class="showAgree ? 'cuIcon-radiobox' : 'cuIcon-round'">注册即同意</text>
|
||||
<!-- 协议地址 -->
|
||||
@@ -89,7 +89,7 @@
|
||||
showMa() {
|
||||
//查询官方邀请码
|
||||
this.$Request.getT('/common/type/88').then(res => {
|
||||
if (res.code == 0) {
|
||||
if (res.code === 0) {
|
||||
this.invitation = res.data.value;
|
||||
}
|
||||
});
|
||||
@@ -211,7 +211,7 @@
|
||||
})
|
||||
return
|
||||
}
|
||||
if (invitation.length == 0 && registerCode == '是') {
|
||||
if (invitation.length === 0 && registerCode === '是') {
|
||||
uni.showToast({
|
||||
title: '请输入邀请码',
|
||||
icon: 'none',
|
||||
@@ -356,7 +356,7 @@
|
||||
background: #ffffff;
|
||||
}
|
||||
|
||||
.footer {
|
||||
.footerView {
|
||||
display: flex;
|
||||
justify-content: center;
|
||||
align-items: center;
|
||||
|
||||
Reference in New Issue
Block a user