From beaf4fda8b1a4d958adc7ab286d9a9a54dac24fe Mon Sep 17 00:00:00 2001 From: filesite Date: Mon, 8 Jul 2024 08:52:37 +0800 Subject: [PATCH] cache clean function improve --- www/js/beauty.js | 2 ++ 1 file changed, 2 insertions(+) diff --git a/www/js/beauty.js b/www/js/beauty.js index e3926fb..b7ec8cd 100644 --- a/www/js/beauty.js +++ b/www/js/beauty.js @@ -118,6 +118,8 @@ if ($('#image_site').get(0)) { }).done(function(data) { if (data.code == 1) { location.reload(); + }else { + alert('缓存清空失败,请稍后重试,错误信息:' + data.msg); } }).fail(function(jqXHR, textStatus, errorThrown) { alert('请求失败,请稍后重试,错误信息:' + errorThrown);