feat: Performance timeLabel done.

This commit is contained in:
chiayin
2024-02-01 12:33:11 +08:00
parent bddc1d3a7a
commit d89c5ff4d8
9 changed files with 481 additions and 58 deletions

View File

@@ -258,6 +258,10 @@ export default defineStore('filesStore', {
async deleteFile(type, id) {
let api;
if(id == null || isNaN(id)) {
console.error('Delete File API:', id);
return $toast.default('Delete File API Error.', {position: 'bottom'});
};
loading.isLoading = true;
switch (type) {
case 'log':