|
@@ -75,7 +75,7 @@ class Index extends Component {
|
|
|
}
|
|
|
|
|
|
getDtl = () => {
|
|
|
- const { curObj, curNav, buildingNumList } = this.state
|
|
|
+ const { curNav, buildingNumList } = this.state
|
|
|
const {eId, name, id} = this.$router.params
|
|
|
Taro.api.house.apiestatelotterypricelist({
|
|
|
estate_id: eId,
|
|
@@ -92,7 +92,10 @@ class Index extends Component {
|
|
|
}
|
|
|
onceGetInfo () {
|
|
|
const {eId} = this.$router.params
|
|
|
- const { curNav, buildingNumList } = this.state
|
|
|
+ const { curObj, curNav, buildingNumList } = this.state
|
|
|
+ if (curObj.id === buildingNumList[curNav].id) {
|
|
|
+ return
|
|
|
+ }
|
|
|
Taro.api.house.apiestatelottery2batchinfo({
|
|
|
lottery_id: buildingNumList[curNav].id,
|
|
|
estate_id: eId,
|