提交
This commit is contained in:
parent
5522645b5b
commit
9cae13f193
@ -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>
|
||||
|
@ -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 => {
|
||||
|
@ -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>
|
||||
|
Loading…
x
Reference in New Issue
Block a user