lilei 2 năm trước cách đây
mục cha
commit
7696f8dc27
1 tập tin đã thay đổi với 2 bổ sung1 xóa
  1. 2 1
      pages/statistics/index.vue

+ 2 - 1
pages/statistics/index.vue

@@ -109,7 +109,7 @@
 			</view>
 		</u-popup>
 		<!-- 选择日期范围 -->
-		<u-calendar v-model="showDate" @change="dateChange" mode="range"></u-calendar>
+		<u-calendar v-model="showDate" ref="rangeDate" @change="dateChange" mode="range"></u-calendar>
 	</view>
 </template>
 
@@ -239,6 +239,7 @@
 			// 重置
 			handleClean(){
 				this.tabChange(this.placeTab[2])
+				this.$refs.rangeDate.init()
 				this.showSearch = false
 				this.getServerData()
 			},