From 6208ff167e73042f10a5a2ca01802a29b639f791 Mon Sep 17 00:00:00 2001 From: filesite Date: Mon, 18 Sep 2023 23:04:47 +0800 Subject: [PATCH] auto clean input after saved --- www/js/tajian.js | 1 + 1 file changed, 1 insertion(+) diff --git a/www/js/tajian.js b/www/js/tajian.js index cc269a9..a3d4512 100644 --- a/www/js/tajian.js +++ b/www/js/tajian.js @@ -29,6 +29,7 @@ $(btn).prop('disabled', false); if (data.code == 1) { + $('input[name=share_content]').val(''); alert(data.msg || data.err); }else { alert('保存失败,请稍后重试!');