modify(icons)

This commit is contained in:
songwanli2025@163.com 2020-03-18 15:07:15 +08:00
parent fd2752f23a
commit 40a1e44036
2 changed files with 2 additions and 10 deletions

View File

@ -46,11 +46,7 @@ export default {
return this.state.mode
},
names () {
const iconNames = []
for (const key in icons) {
iconNames.push(key)
}
return iconNames
return Object.keys(icons)
},
filteredNames () {
if (this.pattern.trim()) {

View File

@ -46,11 +46,7 @@ export default {
return this.state.mode
},
names () {
const iconNames = []
for (const key in icons) {
iconNames.push(key)
}
return iconNames
return Object.keys(icons)
},
filteredNames () {
if (this.pattern.trim()) {