From 83c2e75757034d753d8e69a24e8713e3b84d266a Mon Sep 17 00:00:00 2001 From: luxiaotao1123 <t1341870251@163.com> Date: 星期四, 27 五月 2021 15:31:29 +0800 Subject: [PATCH] # --- src/main/webapp/static/js/common.js | 8 ++++++++ 1 files changed, 8 insertions(+), 0 deletions(-) diff --git a/src/main/webapp/static/js/common.js b/src/main/webapp/static/js/common.js index 951a7ae..982a8d1 100644 --- a/src/main/webapp/static/js/common.js +++ b/src/main/webapp/static/js/common.js @@ -56,6 +56,14 @@ }); } +// 娓呴櫎琛ㄥ崟 +function clearFormVal(el) { + $(':input', el) + .val('') + .removeAttr('checked') + .removeAttr('selected'); +} + // 鏉冮檺 function limit(child){ if (child == null){ -- Gitblit v1.9.1