Nginx: 使用KeepAlived配置实现虚IP在多服务器节点漂移及Nginx高可用原理

穆熙沐

关注

阅读 3

2024-09-04

1、时间组件框选择时间

2、做判断 

	if (new Date(selectedDate) < new Date(this.startDate)) {
					uni.showToast({
						title: '结束时间不能早于起始时间',
						icon: 'none',
						duration: 2000
					});
					return;
				}

	console.log(new Date(selectedDate),new Date(this.endDate));

3、打印出来的时间对比 

 

精彩评论(0)

0 0 举报