update ruoyi-admin/src/main/resources/static/ruoyi/js/common.js.
如果页面的日期选择,id用用其他命名,查询页面的表单重置功能会报错。 Signed-off-by: Foe <548842+foe@user.noreply.gitee.com>
This commit is contained in:
parent
a4c8026265
commit
1d6afb05a9
|
|
@ -415,14 +415,20 @@ function endOfTime(date) {
|
|||
/** 重置日期/年月日 */
|
||||
function resetDate() {
|
||||
if ($.common.isNotEmpty(startLayDate) && $.common.isNotEmpty(endLayDate)) {
|
||||
|
||||
if($.common.isNotEmpty(endLayDate.config.min)) {
|
||||
endLayDate.config.min.year = '';
|
||||
endLayDate.config.min.month = '';
|
||||
endLayDate.config.min.date = '';
|
||||
}
|
||||
|
||||
if($.common.isNotEmpty(startLayDate.config.max)) {
|
||||
startLayDate.config.max.year = '2099';
|
||||
startLayDate.config.max.month = '12';
|
||||
startLayDate.config.max.date = '31';
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
// 日志打印封装处理
|
||||
var log = {
|
||||
|
|
|
|||
Loading…
Reference in New Issue