diff --git a/components/tpx-date-input/tpx-date-input.vue b/components/tpx-date-input/tpx-date-input.vue index 7f855dc..f735a62 100644 --- a/components/tpx-date-input/tpx-date-input.vue +++ b/components/tpx-date-input/tpx-date-input.vue @@ -170,6 +170,7 @@ }, 300) }, handleToolsRangChange(val) { + this.rangeVal = val if(val == -1) { this.handleSwitchCladar() } else { diff --git a/components/tpx-scroll-view/tpx-scroll-view.vue b/components/tpx-scroll-view/tpx-scroll-view.vue index d4dc5ee..01f554c 100644 --- a/components/tpx-scroll-view/tpx-scroll-view.vue +++ b/components/tpx-scroll-view/tpx-scroll-view.vue @@ -13,7 +13,7 @@ - + @@ -43,6 +43,11 @@ } }, props: { + createReload: { + default () { + return true + } + }, autoReload: { default () { return true @@ -93,7 +98,9 @@ } }, created() { - this.getDataList(true) + if(this.createReload) { + this.getDataList(true) + } }, onHide() {