This commit is contained in:
lb
2023-02-17 14:02:03 +08:00
parent c2657b190e
commit efb9d3f46e
23 changed files with 442 additions and 413 deletions

View File

@@ -71,7 +71,9 @@ export default {
},
computed: {
filteredList() {
return this.fileList.filter((item) => item.name.startsWith(this.searchCondition));
// return this.fileList.filter((item) => item.name.startsWith(this.searchCondition));
// 改为模糊查询
return this.fileList.filter((item) => item.name.indexOf(this.searchCondition) !== -1);
},
},
methods: {