naive-ui/packages/mixins/fontawarable.js
2019-10-14 17:49:23 +08:00

9 lines
146 B
JavaScript

export default {
mounted () {
const fontsReady = document.fonts.ready
fontsReady.then(() => {
this.handleFontReady()
})
}
}