From fbe565f3e2e4a3387679c035813103c796538461 Mon Sep 17 00:00:00 2001 From: yf <770153798@qq.com> Date: Mon, 30 Dec 2024 14:22:14 +0800 Subject: [PATCH] Merge branch 'dev' of https://git.yfgame.vip/r/hangtag into dev # Please enter a commit message to explain why this merge is necessary, # especially if it merges an updated upstream into a topic branch. # # Lines starting with '#' will be ignored, and an empty message aborts # the commit. MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 修复 系统编码日期格式问题 --- .../src/views/system/codingrules/components/edit-item.vue | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/hangtag-ui/hangtag-ui-admin/src/views/system/codingrules/components/edit-item.vue b/hangtag-ui/hangtag-ui-admin/src/views/system/codingrules/components/edit-item.vue index d430c5d..60c1a81 100644 --- a/hangtag-ui/hangtag-ui-admin/src/views/system/codingrules/components/edit-item.vue +++ b/hangtag-ui/hangtag-ui-admin/src/views/system/codingrules/components/edit-item.vue @@ -224,7 +224,7 @@ const resetData = { that.modelData.step = 0 that.modelData.lastValue = '' const d = toInt(that.modelData.value) - if (!isNaN(d)) { + if (isNaN(d)) { that.modelData.value = 'yyyymmdd' } }