vue读取本地文件

  • A+
所属分类:vue
getDegreeDict(){
  var appData = require('/src/model/degree.json');
  console.log(appData);
},

发表评论

:?: :razz: :sad: :evil: :!: :smile: :oops: :grin: :eek: :shock: :???: :cool: :lol: :mad: :twisted: :roll: :wink: :idea: :arrow: :neutral: :cry: :mrgreen: