检查一下你是否在 App.vue 中有手动操作引入过 uni.scss,比如下面的 import:

<style lang="scss">
@import url("./uni.scss");

/* #ifdef MP-TOUTIAO */
@font-face {
    font-family: uniicons;
    src: url('/static/uni.ttf');
}
/* #endif */
</style>

注意,不需要手动引入,在微信中编译运行会报错。

 

Refer:uni-app常见报错 

Link:https://www.cnblogs.com/farwish/p/13881353.html

相关文章:

  • 2021-04-28
  • 2021-04-29
  • 2022-12-23
  • 2021-10-22
  • 2021-04-05
  • 2021-04-06
  • 2021-05-18
  • 2022-12-23
猜你喜欢
  • 2021-12-22
  • 2021-12-25
  • 2021-06-29
  • 2021-05-11
  • 2021-10-07
  • 2021-04-17
  • 2021-04-22
相关资源
相似解决方案