bugfix
This commit is contained in:
@@ -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: {
|
||||
|
||||
Reference in New Issue
Block a user