fix: 修复设置密码在真机上兼容问题
This commit is contained in:
parent
1c8de323fe
commit
2d3147d65d
@ -23,12 +23,13 @@
|
|||||||
<view class="input-wrapper">
|
<view class="input-wrapper">
|
||||||
<u-input
|
<u-input
|
||||||
v-model="oldPassword"
|
v-model="oldPassword"
|
||||||
:type="showOldPassword ? 'text' : 'password'"
|
type="text"
|
||||||
placeholder="请输入原密码"
|
placeholder="请输入原密码"
|
||||||
:maxlength="6"
|
:maxlength="6"
|
||||||
:border="false"
|
:border="false"
|
||||||
fontSize="28rpx"
|
fontSize="28rpx"
|
||||||
:disabled="isClosePassword"
|
:disabled="isClosePassword"
|
||||||
|
:password="!showOldPassword"
|
||||||
/>
|
/>
|
||||||
<u-icon
|
<u-icon
|
||||||
:name="showOldPassword ? 'eye-fill' : 'eye-off'"
|
:name="showOldPassword ? 'eye-fill' : 'eye-off'"
|
||||||
@ -48,11 +49,12 @@
|
|||||||
<view class="input-wrapper">
|
<view class="input-wrapper">
|
||||||
<u-input
|
<u-input
|
||||||
v-model="newPassword"
|
v-model="newPassword"
|
||||||
:type="showNewPassword ? 'text' : 'password'"
|
type="text"
|
||||||
placeholder="请输入6位数字密码"
|
placeholder="请输入6位数字密码"
|
||||||
maxlength="6"
|
maxlength="6"
|
||||||
:border="false"
|
:border="false"
|
||||||
fontSize="28rpx"
|
fontSize="28rpx"
|
||||||
|
:password="!showNewPassword"
|
||||||
@input="validateInput"
|
@input="validateInput"
|
||||||
/>
|
/>
|
||||||
<u-icon
|
<u-icon
|
||||||
@ -70,11 +72,12 @@
|
|||||||
<view class="input-wrapper">
|
<view class="input-wrapper">
|
||||||
<u-input
|
<u-input
|
||||||
v-model="confirmPassword"
|
v-model="confirmPassword"
|
||||||
:type="showConfirmPassword ? 'text' : 'password'"
|
type="text"
|
||||||
placeholder="请再次输入密码"
|
placeholder="请再次输入密码"
|
||||||
maxlength="6"
|
maxlength="6"
|
||||||
:border="false"
|
:border="false"
|
||||||
fontSize="28rpx"
|
fontSize="28rpx"
|
||||||
|
:password="!showConfirmPassword"
|
||||||
@input="validateInput"
|
@input="validateInput"
|
||||||
/>
|
/>
|
||||||
<u-icon
|
<u-icon
|
||||||
|
@ -154,7 +154,7 @@ const switchCompany = () => {
|
|||||||
userStore.setUserInfo(userList[index]);
|
userStore.setUserInfo(userList[index]);
|
||||||
userStore.setCompanyInfo(companyList[index]);
|
userStore.setCompanyInfo(companyList[index]);
|
||||||
|
|
||||||
avatarModifyRemind();
|
// avatarModifyRemind();
|
||||||
});
|
});
|
||||||
});
|
});
|
||||||
};
|
};
|
||||||
@ -208,7 +208,7 @@ const fetchCompanyList = (fn: any = undefined) => {
|
|||||||
|
|
||||||
userStore.setUserInfo(userList.value[index]);
|
userStore.setUserInfo(userList.value[index]);
|
||||||
userStore.setCompanyInfo(companyList.value[index]);
|
userStore.setCompanyInfo(companyList.value[index]);
|
||||||
avatarModifyRemind();
|
// avatarModifyRemind();
|
||||||
|
|
||||||
//首页选中处理后清空分享数据,避免再次选中
|
//首页选中处理后清空分享数据,避免再次选中
|
||||||
if(getApp()?.globalData?.shareCompanyId && getApp()?.globalData?.shareStoreId) {
|
if(getApp()?.globalData?.shareCompanyId && getApp()?.globalData?.shareStoreId) {
|
||||||
|
Loading…
Reference in New Issue
Block a user