Skip to content

Commit f070bdc

Browse files
committed
add:输入框清空按钮
1 parent 58e8407 commit f070bdc

File tree

2 files changed

+6
-1
lines changed

2 files changed

+6
-1
lines changed

storage.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -81,7 +81,7 @@ async def delete_files(self, texts):
8181
tasks = [self.delete_file(text) for text in texts]
8282
await asyncio.gather(*tasks)
8383

84-
def judge_delete_folder(self, filepath):
84+
async def judge_delete_folder(self, filepath):
8585
currpath = os.path.dirname(filepath)
8686
if os.listdir(currpath):
8787
return

templates/index.html

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,11 @@
2929
font-weight: bold;
3030
}
3131

32+
.el-icon-circle-close::before {
33+
font-size: 26px !important;
34+
line-height: 128px;
35+
}
36+
3237
.qu .el-input__inner {
3338
height: 100px;
3439
margin: 1rem 0;

0 commit comments

Comments
 (0)