uni-ui
uni-ui copied to clipboard
修复 toISOString() 引发的时区问题
中国是东八区,toISOString()
获取的是0时区时间。也就是说,在0点到8点,toISOString().split('T')[0]
取到的时间是前一天的日期。