Files: if data length is 0, layout

This commit is contained in:
chiayin
2023-02-17 14:48:34 +08:00
parent 23f9d9ba15
commit 8228f9791c
2 changed files with 19 additions and 8 deletions

View File

@@ -51,6 +51,7 @@ export default defineStore('filesStore', {
let filesTag = state.filesTag;
result = result.filter(file => data[filesTag].includes(file.fileType));
return result;
},
},