不知何故,我想从 vuesax@next 使用的通知显示错误……也许是我的错,或者是因为 vuesax 的 alpha 状态形式?这是代码:(我直接从文档中复制了它......)
openNotification (title_, text_) { //obviously I put this in the methods from Vue
this.$vs.notification({
title: title_,
text: text_
})
}
当我想执行它时:
this.openNotification('test', 'This is a test')
现在,当我执行它时,会显示通知,但字体完全错误......而且由于它是通过js触发的,我不知道如何通过css选择它。通常应该使用来自 vuejs 的标准字体?