mirror of
https://github.com/netcccyun/dnsmgr.git
synced 2026-03-10 15:37:21 +08:00
清空缓存后刷新页面
This commit is contained in:
parent
5cbdcb9bf7
commit
6b3a33e40b
@ -59,7 +59,7 @@
|
||||
<div class="small-box bg-red">
|
||||
<div class="inner">
|
||||
<h3 id="count4">0</h3>
|
||||
<p>平台数量</p>
|
||||
<p>DNS平台数量</p>
|
||||
</div>
|
||||
<div class="icon">
|
||||
<i class="fa fa-connectdevelop"></i>
|
||||
@ -153,7 +153,12 @@ function cleancache(){
|
||||
dataType : 'json',
|
||||
success : function(data) {
|
||||
layer.close(ii);
|
||||
layer.msg('清理缓存成功', {icon: 1});
|
||||
layer.msg('清理缓存成功', {
|
||||
icon: 1,
|
||||
end:() => {
|
||||
window.location.reload();
|
||||
}
|
||||
});
|
||||
},
|
||||
error:function(data){
|
||||
layer.close(ii);
|
||||
|
||||
Loading…
Reference in New Issue
Block a user