From 18e13ddba707623dc9078d7bffc498f91dba409c Mon Sep 17 00:00:00 2001 From: luxiaotao1123 <t1341870251@163.com> Date: 星期二, 13 四月 2021 14:48:26 +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