feat: change font url

master
蒋雪 2021-04-29 14:42:31 +08:00 committed by XuPeng
parent 7bd121e84e
commit a01c8d3870
1 changed files with 1 additions and 1 deletions

View File

@ -15,7 +15,7 @@ Page({
const self = this const self = this
wx.loadFontFace({ wx.loadFontFace({
family: this.data.fontFamily, family: this.data.fontFamily,
source: 'url("https://sungd.github.io/Pacifico.ttf")', source: 'url("https://www-cdn.finclip.com/fonts/Pacifico.ttf")',
success(res) { success(res) {
console.log(res.status) console.log(res.status)
self.setData({loaded: true}) self.setData({loaded: true})