fix:时间选择器 历史记录优化
This commit is contained in:
@@ -577,6 +577,13 @@ export default {
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
sign (n) {
|
||||
if (n) {
|
||||
this.rangeHistory = localStorage.getItem('date-range-history' + this.sign)
|
||||
? JSON.parse(localStorage.getItem('date-range-history' + this.sign))
|
||||
: []
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user