This commit is contained in:
aihe 2024-07-30 11:10:52 +08:00
parent 15ef4e0283
commit 8ee6c8eca1
2 changed files with 10 additions and 2 deletions

View File

@ -170,6 +170,7 @@
}, 300) }, 300)
}, },
handleToolsRangChange(val) { handleToolsRangChange(val) {
this.rangeVal = val
if(val == -1) { if(val == -1) {
this.handleSwitchCladar() this.handleSwitchCladar()
} else { } else {

View File

@ -13,7 +13,7 @@
</view> </view>
<!-- 空数据页 --> <!-- 空数据页 -->
<view v-if="resObject.list.length == 0"> <view v-if="!showLoadMore && resObject.list.length == 0">
<tpx-empty :size="size"></tpx-empty> <tpx-empty :size="size"></tpx-empty>
</view> </view>
</scroll-view> </scroll-view>
@ -43,6 +43,11 @@
} }
}, },
props: { props: {
createReload: {
default () {
return true
}
},
autoReload: { autoReload: {
default () { default () {
return true return true
@ -93,7 +98,9 @@
} }
}, },
created() { created() {
if(this.createReload) {
this.getDataList(true) this.getDataList(true)
}
}, },
onHide() { onHide() {