mirror of
https://github.com/tusen-ai/naive-ui.git
synced 2025-01-24 12:45:18 +08:00
modify(icons)
This commit is contained in:
parent
fd2752f23a
commit
40a1e44036
@ -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()) {
|
||||
|
@ -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()) {
|
||||
|
Loading…
Reference in New Issue
Block a user