mirror of
				https://gitee.com/hhyykk/ipms-sjy.git
				synced 2025-10-31 10:18:42 +08:00 
			
		
		
		
	uView版本升级到2.0.34
This commit is contained in:
		| @@ -209,12 +209,13 @@ export default { | ||||
| 			} | ||||
| 		}, | ||||
| 		init() { | ||||
| 			// 校验maxDate,不能小于当前时间 | ||||
| 			// 校验maxDate,不能小于minDate | ||||
| 			if ( | ||||
| 				this.innerMaxDate && | ||||
| 				new Date(this.innerMaxDate).getTime() <= Date.now() | ||||
| 				this.innerMinDate && | ||||
| 				new Date(this.innerMaxDate).getTime() < new Date(this.innerMinDate).getTime() | ||||
| 			) { | ||||
| 				return uni.$u.error('maxDate不能小于当前时间') | ||||
| 				return uni.$u.error('maxDate不能小于minDate') | ||||
| 			} | ||||
| 			// 滚动区域的高度 | ||||
| 			this.listHeight = this.rowHeight * 5 + 30 | ||||
|   | ||||
		Reference in New Issue
	
	Block a user
	 sfmind
					sfmind