|
@@ -25,7 +25,7 @@
|
|
|
</view>
|
|
</view>
|
|
|
<My-button :customStyle="customStyle" class="my-but" :loading="loading" :disabled="disabled" text="登录"
|
|
<My-button :customStyle="customStyle" class="my-but" :loading="loading" :disabled="disabled" text="登录"
|
|
|
@onClick="logIn" />
|
|
@onClick="logIn" />
|
|
|
- <!-- <view class="agreement-box">
|
|
|
|
|
|
|
+ <!-- <view class="agreement-box">
|
|
|
<up-checkbox label="已阅读并同意" name="agree" usedAlone v-model:checked="isAgreement" />
|
|
<up-checkbox label="已阅读并同意" name="agree" usedAlone v-model:checked="isAgreement" />
|
|
|
<view @click="checkTheAgreement" style="color: #3874F6;">
|
|
<view @click="checkTheAgreement" style="color: #3874F6;">
|
|
|
《隐私协议》
|
|
《隐私协议》
|
|
@@ -179,9 +179,14 @@ function handleLogin(data) {
|
|
|
uni.setStorageSync('userMsg', data);
|
|
uni.setStorageSync('userMsg', data);
|
|
|
uni.removeStorageSync('phonenumber');
|
|
uni.removeStorageSync('phonenumber');
|
|
|
uni.setStorageSync('phonenumber', phonenumber.value);
|
|
uni.setStorageSync('phonenumber', phonenumber.value);
|
|
|
- uni.redirectTo({
|
|
|
|
|
- url: '/pages/index/index',
|
|
|
|
|
- });
|
|
|
|
|
|
|
+ $Http.isLoad = true;
|
|
|
|
|
+ if (getCurrentPages().length > 1) {
|
|
|
|
|
+ uni.navigateBack();
|
|
|
|
|
+ } else {
|
|
|
|
|
+ uni.reLaunch({
|
|
|
|
|
+ url: '/pages/index/index',
|
|
|
|
|
+ });
|
|
|
|
|
+ }
|
|
|
|
|
|
|
|
$Http.basic({
|
|
$Http.basic({
|
|
|
"classname": "webmanage.site.site",
|
|
"classname": "webmanage.site.site",
|