|
@@ -8,7 +8,6 @@
|
|
<u--input v-model="registerData.phone" border="none" maxlength="11" placeholder="请输入手机号码">
|
|
<u--input v-model="registerData.phone" border="none" maxlength="11" placeholder="请输入手机号码">
|
|
</u--input>
|
|
</u--input>
|
|
</u-form-item>
|
|
</u-form-item>
|
|
-
|
|
|
|
<u-form-item label="验证码" prop="code" borderBottom>
|
|
<u-form-item label="验证码" prop="code" borderBottom>
|
|
<u--input v-model="registerData.verifyCode" border="none" placeholder="请填写验证码"></u--input>
|
|
<u--input v-model="registerData.verifyCode" border="none" placeholder="请填写验证码"></u--input>
|
|
<button :disabled="disabled1" class="code-style code-small" @tap="getCode">{{tips}}</button>
|
|
<button :disabled="disabled1" class="code-style code-small" @tap="getCode">{{tips}}</button>
|
|
@@ -23,11 +22,8 @@
|
|
</u--form>
|
|
</u--form>
|
|
<button class="code-style reset" @click="reset">重置密码</button>
|
|
<button class="code-style reset" @click="reset">重置密码</button>
|
|
</view>
|
|
</view>
|
|
-
|
|
|
|
-
|
|
|
|
</view>
|
|
</view>
|
|
</template>
|
|
</template>
|
|
-
|
|
|
|
<script>
|
|
<script>
|
|
import {
|
|
import {
|
|
mapState
|
|
mapState
|
|
@@ -138,7 +134,6 @@
|
|
if (res.code == 200) {
|
|
if (res.code == 200) {
|
|
uni.clearStorageSync();
|
|
uni.clearStorageSync();
|
|
this.$request.baseRequest('post', '/auth/api/logout').then(res => {
|
|
this.$request.baseRequest('post', '/auth/api/logout').then(res => {
|
|
-
|
|
|
|
})
|
|
})
|
|
this.$store.commit('logout')
|
|
this.$store.commit('logout')
|
|
// this.$api.logout()
|
|
// this.$api.logout()
|