修改bug,优化导航
This commit is contained in:
@@ -269,14 +269,14 @@
|
||||
}
|
||||
}
|
||||
const bindCarClick = () => {
|
||||
uni.redirectTo({
|
||||
uni.navigateTo({
|
||||
url: '/pageSubPack/my/bindCar'
|
||||
})
|
||||
}
|
||||
|
||||
const selectItem = (typeStr) => {
|
||||
if (typeStr === '选择小区') {
|
||||
uni.redirectTo({
|
||||
uni.navigateTo({
|
||||
url: '/pageSubPack/my/selectResidentialCommunity?sourcePage=addParkingSpace'
|
||||
})
|
||||
}
|
||||
@@ -284,7 +284,7 @@
|
||||
// if (!formData.value.community) {
|
||||
// return uni.showToast({ title: '请先选择上级', icon: 'none' })
|
||||
// }
|
||||
// uni.redirectTo({ url: '/pageSubPack/my/bindHouse' })
|
||||
// uni.navigateTo({ url: '/pageSubPack/my/bindHouse' })
|
||||
// }
|
||||
if (typeStr === '停车场') {
|
||||
if (!formData.value.community) {
|
||||
@@ -294,7 +294,7 @@
|
||||
})
|
||||
}
|
||||
uni.setStorageSync('checkType', '停车场')
|
||||
uni.redirectTo({
|
||||
uni.navigateTo({
|
||||
url: '/pageSubPack/my/selectParingLot'
|
||||
})
|
||||
}
|
||||
@@ -306,7 +306,7 @@
|
||||
})
|
||||
}
|
||||
uni.setStorageSync('checkType', '车位编号')
|
||||
uni.redirectTo({
|
||||
uni.navigateTo({
|
||||
url: '/pageSubPack/my/selectParingLot'
|
||||
})
|
||||
}
|
||||
@@ -317,7 +317,7 @@
|
||||
icon: 'none'
|
||||
})
|
||||
}
|
||||
uni.redirectTo({
|
||||
uni.navigateTo({
|
||||
url: '/pageSubPack/my/selectOwner'
|
||||
})
|
||||
}
|
||||
@@ -338,7 +338,7 @@
|
||||
uni.removeStorageSync('bindCarName')
|
||||
uni.removeStorageSync('ownerId')
|
||||
uni.removeStorageSync('ownerName')
|
||||
uni.redirectTo({
|
||||
uni.navigateTo({
|
||||
url: '/pageSubPack/my/myParkingSpaceIndex'
|
||||
})
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user