fix:去掉登录不需要的字段

This commit is contained in:
qiaojiale 2025-07-15 08:49:10 +08:00
parent 54611ac73c
commit 8d09a3c1eb
3 changed files with 14 additions and 13 deletions

Binary file not shown.

View File

@ -21,13 +21,14 @@
<view wx:if="{{types == 1 && !LoginType}}">
<view class="login-button">
<button class="login-btn" wx:if="{{checked && userLogin}}" bind:tap="userLogin">
用户快捷登录1
<button class="login-btn" wx:if="{{checked }}" bind:tap="userLogin">
用户快捷登录
</button>
<button class="login-btn" wx:if="{{checked && !userLogin}}" open-type="getPhoneNumber" bindtap="headerLoginClick" bindgetphonenumber="getPhoneNumber">
用户快捷登录2
</button>
<!-- && !userLogin -->
<!-- <button class="login-btn" wx:if="{{checked }}" open-type="getPhoneNumber" bindtap="headerLoginClick" bindgetphonenumber="getPhoneNumber">
用户快捷登录
</button> -->
<button class="login-btn" bind:tap="showTo" wx:if="{{!checked}}">
用户快捷登录
@ -47,13 +48,14 @@
<view wx:if="{{types != 1 && !LoginType}}">
<view class="login-button" wx:if="{{types == 2}}">
<button class="login-btn" wx:if="{{checked && masterLogin}}" bind:tap="masterLogin">
<button class="login-btn" wx:if="{{checked}}" bind:tap="masterLogin">
手机号快捷登录
</button>
<button class="login-btn" wx:if="{{checked && !masterLogin}}" open-type="getPhoneNumber" bindtap="headerLoginClick2" bindgetphonenumber="getPhoneNumber2">
<!-- && !masterLogin -->
<!-- <button class="login-btn" wx:if="{{checked }}" open-type="getPhoneNumber" bindtap="headerLoginClick2" bindgetphonenumber="getPhoneNumber2">
手机号快捷登录
</button>
</button> -->
<button class="login-btn" bind:tap="showTo" wx:if="{{!checked}}">
手机号快捷登录

View File

@ -271,7 +271,7 @@ const postUrl = function (url, data, successfn, token) {
'trace-id':traceId
},
success: f => {
const traceId = f.headers['trace-id']
const traceId = f.header['trace-id']
if(traceId){
wx.setStorageSync('traceId', traceId)
}
@ -359,7 +359,7 @@ const postUrl2 = function (url, data, successfn, token) {
},
success: f => {
console.log('successddd', f);
const traceId = f.headers['trace-id']
const traceId = f.header['trace-id']
if(traceId){
wx.setStorageSync('traceId', traceId)
}
@ -434,7 +434,7 @@ const postUrl3 = function (url, data, version, successfn, token) {
},
success: f => {
console.log('successddd', f);
const traceId = f.headers['trace-id']
const traceId = f.header['trace-id']
if(traceId){
wx.setStorageSync('traceId', traceId)
}
@ -541,8 +541,7 @@ const postUrl4 = function (url, data, successfn, token) {
'trace-id':traceId
},
success: f => {
console.log('successddd', f);
const traceId = f.headers['trace-id']
const traceId = f.header['trace-id']
if(traceId){
wx.setStorageSync('traceId', traceId)
}