fix font component showing objects
This commit is contained in:
parent
51161de0e9
commit
4c288d7095
1 changed files with 1 additions and 1 deletions
|
|
@ -246,7 +246,7 @@ export const useInterfaceStore = defineStore('interface', {
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
setFontsList(value) {
|
setFontsList(value) {
|
||||||
this.localFonts = [...new Set(value.map((font) => font)).values()]
|
this.localFonts = [...new Set(value.map(({ family }) => family)).values()]
|
||||||
},
|
},
|
||||||
queryLocalFonts() {
|
queryLocalFonts() {
|
||||||
if (this.localFonts !== null) return
|
if (this.localFonts !== null) return
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue