From 109953835761f91d075f161ca7660053ee4ddef9 Mon Sep 17 00:00:00 2001 From: xuxueyang <xuxy@fengyuntec.com> Date: 星期六, 17 八月 2024 23:01:59 +0800 Subject: [PATCH] 1 --- pages/user/user-pwd/user-pwd.vue | 14 ++++++++++---- 1 files changed, 10 insertions(+), 4 deletions(-) diff --git a/pages/user/user-pwd/user-pwd.vue b/pages/user/user-pwd/user-pwd.vue index bb3566e..d946fe3 100644 --- a/pages/user/user-pwd/user-pwd.vue +++ b/pages/user/user-pwd/user-pwd.vue @@ -23,9 +23,8 @@ </u-form-item> <u-divider></u-divider> <u-form-item :label-position="labelPosition" label="确认密码" label-width="150" prop="rePassword"> - <u-input :password-icon="false" :border="border" :type="showPassword2?'text':'password'" - v-model="model.rePassword" - placeholder="请确认密码"> + <u-input :password-icon="false" :border="border" :type="showPassword2?'text':'password'" + v-model="model.rePassword" placeholder="请确认密码"> <template slot="suffix"> <uni-icons color="#20613D" :type="showPassword2 ? 'eye-filled' : 'eye-slash-filled'" size="24" @click="()=>{ @@ -55,7 +54,7 @@ rePassword: '' }, showPassword1: false, - showPassword2:false, + showPassword2: false, rules: { // oldpassword: [ // { @@ -153,6 +152,13 @@ this.model.rePassword = '' this.model.oldPassword = '' this.$message.showToast('修改成功'); + let tmp = this + setTimeout(() => { + tmp.$store.commit('updateLogin', false) + uni.reLaunch({ + url: '/pages/login/supplier-login' + }) + }, 1500) } }, // 点击actionSheet回调 -- Gitblit v1.9.3