From 85b90767cd379cdf3943d3aa1b1f7e4b1b560282 Mon Sep 17 00:00:00 2001 From: tianya Date: Sat, 29 Apr 2023 16:10:41 +0800 Subject: [PATCH] =?UTF-8?q?=E7=B3=BB=E7=BB=9F=E9=85=8D=E7=BD=AE=E6=90=9C?= =?UTF-8?q?=E7=B4=A2=E8=BE=93=E5=85=A5=E6=A1=86=E5=A2=9E=E5=8A=A0=E5=88=A0?= =?UTF-8?q?=E9=99=A4=E5=85=B3=E9=94=AE=E8=AF=8D?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/admin/templets/sys_info.htm | 43 +++++++++++++++++++++------------ 1 file changed, 27 insertions(+), 16 deletions(-) diff --git a/src/admin/templets/sys_info.htm b/src/admin/templets/sys_info.htm index 41cb67e3..47e1d729 100644 --- a/src/admin/templets/sys_info.htm +++ b/src/admin/templets/sys_info.htm @@ -15,23 +15,28 @@ @@ -189,6 +194,7 @@ searchKeywords = searchKeywords.replace(/^cfg_/, ""); fetch('sys_info.php?dopost=search&keywords=' + searchKeywords).then(resp => { if (resp.ok) { + $("#btnClear").removeClass('d-none').show(); return resp.text() } throw new Error('系统错误,无法获取数据'); @@ -205,6 +211,11 @@ jQuery("#edit___cfg_cookie_encode").val(data); }); } + $(document).ready(function () { + $("#btnClear").click(()=>{ + location.reload(); + }) + }); \ No newline at end of file
- - 搜索1) echo "{$dls[1]}"; - else { - echo "{$dls[1]}"; +
+ + + 搜索1) echo "{$dls[1]}"; + else { + echo "{$dls[1]}"; + } } - } - ?>添加变量 + ?>添加变量 +