@@ -169,7 +169,12 @@ export default {
// 时间获取焦点
hFocusDate() {
if (!this.value) {
- this.$message.warning('请先选择日期类型')
+ if (this.timer) {
+ window.clearTimeout(this.timer)
+ }
+ this.timer = setTimeout(() => {
+ this.$message.warning('请选择日期类型')
+ }, 1000)
}