This commit is contained in:
A1300399510 2023-07-28 11:59:55 +08:00
parent 5522645b5b
commit 9cae13f193
3 changed files with 3 additions and 3 deletions

View File

@ -179,7 +179,7 @@ const handleScroll = (event) => {
//
const goDetail = (uniqid, status) => {
if (status != 1) return
router.push(`/detail?uniqid=${uniqid}`);
router.push(`/detail?id=${uniqid}`);
}
</script>

View File

@ -14,7 +14,7 @@ axios.interceptors.request.use( //响应拦截
showFullScreenLoading()
// 开发时登录用的,可以直接替换小程序的 authorization
// if (process.env.NODE_ENV == "development") config['headers']['authorization'] = "x2mmnl9grt51bpplj2k6ioiuummzhnw3"
// if (process.env.NODE_ENV == "development") config['headers']['authorization'] = "0h870ovk2xckoqfsh8a3t3sg4sg5z7eg"
if (process.env.NODE_ENV == "development") config['headers']['authorization'] = "0h870ovk2xckoqfsh8a3t3sg4sg5z7eg"
return config;
},
error => {

View File

@ -124,7 +124,7 @@
</div>
<div class="type-text">
{{ !housingInfo['data'] || housingInfo['data'] &&
housingInfo['data'].info.rentalduration
housingInfo['data'].info && housingInfo['data'].info.rentalduration
=== '0' ?
'不限' : `${ indexData['data']&&indexData['data']['config']&&indexData['data']['config']['rentalduration'][housingInfo['data'] && housingInfo['data'].info.rentalduration]}` }}
</div>