摘要: 1.获取json数据的值,对price取整 2.在created( )中获取值 共有10种方法: created() { this.$axios.get("http://127.0.0.1:5500/web/api/deom.json").then(res=>{ console.log(`price 阅读全文
posted @ 2021-03-31 15:46 小兔儿_乖乖 阅读(460) 评论(0) 推荐(0)