story#6462,筛选项问题
This commit is contained in:
@ -160,7 +160,8 @@
|
||||
</div>
|
||||
</div>
|
||||
</van-popup>
|
||||
<van-calendar v-model="showDatePicker" type="range" @confirm="onConfirm" />
|
||||
<van-calendar v-model="showDatePicker" :min-date="minDate"
|
||||
:max-date="maxDate" type="range" @confirm="onConfirm" />
|
||||
<van-popup
|
||||
v-model="areaShow"
|
||||
position="bottom"
|
||||
@ -222,6 +223,8 @@ export default {
|
||||
showDatePicker: false,
|
||||
areaShow:false,
|
||||
isClearing:false,
|
||||
minDate: new Date(1970, 0, 1), // 设置最小可选日期(1970年1月1日)
|
||||
maxDate: new Date(2099, 11, 31) // 设置最大可选日期(2099年12月31日)
|
||||
}
|
||||
},
|
||||
watch:{
|
||||
@ -246,6 +249,9 @@ export default {
|
||||
this.getList()
|
||||
},
|
||||
areaName() {
|
||||
if (!this.areaName){
|
||||
this.areaCode=''
|
||||
}
|
||||
this.setSearchVal();
|
||||
this.getList()
|
||||
},
|
||||
|
Reference in New Issue
Block a user