feat: Performance timeLabel done.
This commit is contained in:
@@ -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':
|
||||
|
||||
Reference in New Issue
Block a user