0
点赞
收藏
分享

微信扫一扫

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

穆熙沐 2024-09-04 阅读 2

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 条评论