From f070bdcecef9db8a20e962996227a1aa494ba727 Mon Sep 17 00:00:00 2001 From: lan Date: Tue, 27 Dec 2022 10:01:10 +0800 Subject: [PATCH] =?UTF-8?q?add:=E8=BE=93=E5=85=A5=E6=A1=86=E6=B8=85?= =?UTF-8?q?=E7=A9=BA=E6=8C=89=E9=92=AE?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- storage.py | 2 +- templates/index.html | 5 +++++ 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/storage.py b/storage.py index a76a455..da20e3d 100644 --- a/storage.py +++ b/storage.py @@ -81,7 +81,7 @@ class FileSystemStorage: tasks = [self.delete_file(text) for text in texts] await asyncio.gather(*tasks) - def judge_delete_folder(self, filepath): + async def judge_delete_folder(self, filepath): currpath = os.path.dirname(filepath) if os.listdir(currpath): return diff --git a/templates/index.html b/templates/index.html index 1e2bcd4..401c076 100644 --- a/templates/index.html +++ b/templates/index.html @@ -29,6 +29,11 @@ font-weight: bold; } + .el-icon-circle-close::before { + font-size: 26px !important; + line-height: 128px; + } + .qu .el-input__inner { height: 100px; margin: 1rem 0;