'微调'
This commit is contained in:
@@ -218,7 +218,7 @@
|
||||
onShow() {
|
||||
this.init()
|
||||
let userInfo = uni.getStorageSync('userInfo')
|
||||
console.log('用户信息', this.userInfo);
|
||||
// console.log('用户信息', this.userInfo);
|
||||
this.unreadNum = userInfo.unreadNum
|
||||
// console.log(userInfo.unreadNum);
|
||||
},
|
||||
@@ -310,7 +310,7 @@
|
||||
page,
|
||||
limit
|
||||
}).then(res => {
|
||||
console.log(res.data.list);
|
||||
// console.log(res.data.list);
|
||||
res.data.list.forEach(item => {
|
||||
item.image = item.image.split(",")
|
||||
const date1 = new Date();
|
||||
|
||||
@@ -130,8 +130,8 @@
|
||||
link(item) {
|
||||
if(this.type == 0) {
|
||||
this.$tab.navigateTo(`../carRental/index`)
|
||||
} else if (this.type == 1) {
|
||||
this.$tab.navigateTo(`./carBuy/index`)
|
||||
} else {
|
||||
this.$tab.navigateTo(`../carBuy/index`)
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -177,7 +177,7 @@
|
||||
link(item) {
|
||||
if(this.form.type == 0) {
|
||||
this.$tab.navigateTo(`./carRental/index`)
|
||||
} else if (this.form.type == 1) {
|
||||
} else {
|
||||
this.$tab.navigateTo(`./carBuy/index`)
|
||||
}
|
||||
},
|
||||
|
||||
@@ -52,8 +52,8 @@
|
||||
resendCodeTime: 60,
|
||||
timer: null,
|
||||
form: {
|
||||
phone: '18875843298',
|
||||
captcha: '999999'
|
||||
phone: '',
|
||||
captcha: ''
|
||||
},
|
||||
rules: {
|
||||
phone: [
|
||||
|
||||
@@ -71,8 +71,8 @@
|
||||
{keyName: 'carDealers', text: '车商'}
|
||||
]],
|
||||
form: {
|
||||
phone: '18739735805',
|
||||
captcha: '999999',
|
||||
phone: '',
|
||||
captcha: '',
|
||||
sid: 'carDealers'
|
||||
},
|
||||
rules: {
|
||||
|
||||
@@ -13,7 +13,7 @@ const request = config => {
|
||||
if (getToken() && !isToken) {
|
||||
config.header['Authori-zation'] = getToken()
|
||||
}
|
||||
console.log(getToken());
|
||||
// console.log(getToken());
|
||||
// get请求映射params参数
|
||||
// console.log(config.params);
|
||||
if (config.params) {
|
||||
|
||||
Reference in New Issue
Block a user