fix: Remove unused timer variable in util.html example (#2922)

* build: 修复 git 在 Windows 中的换行符转换问题

* fix: 修复 IE11 下的若干异常问题

* build: 优化打包脚本,确保模块正确的顺序

原计划升级 gulp 5(因 npm audit 提示 gulp 4 漏洞),但由于其改动太大,考虑到 v2 已作为 stable 版本,暂时保留现状。

* Update src/modules/laydate.js

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>

* chore(laydate): 格式化代码

* Initial plan

* fix: Remove unused timer variable in util.html example

Co-authored-by: sentsim <3277200+sentsim@users.noreply.github.com>

---------

Co-authored-by: 贤心 <3277200+sentsim@users.noreply.github.com>
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com>
This commit is contained in:
Copilot
2025-11-12 15:55:08 +08:00
committed by GitHub
parent f69f7c9095
commit 9ec5a67d70

View File

@@ -256,12 +256,11 @@
$('#test1').html('示例写于:' + str);
// 转换日期格式
var timer = null;
var toDateString = function (format) {
var dateString = util.toDateString(new Date(), format);
$('#test3').html(dateString);
};
timer = setInterval(function () {
setInterval(function () {
toDateString($('#test2').val());
}, 50);