摘要: 在main.js文件中配置: //Vue.prototype.$baseUrl="http://192.168.1.164/api" //线下接口 Vue.prototype.$baseUrl="https://m.demo.com/api" //线上接口 在demo.vue页面中请求: //GET 阅读全文
posted @ 2020-04-08 16:50 huihuihero 阅读(15067) 评论(9) 推荐(0) 编辑
摘要: ###先贴出uniapp官方icon的说明文档:https://uniapp.dcloud.io/component/uniui/uni-icons ####1、挑选iconfont图标,添加至项目中。并下载至本地 ####2、在项目static文件夹中新建iconfont文件夹,将下载文件中的ic 阅读全文
posted @ 2020-04-08 09:26 huihuihero 阅读(2017) 评论(0) 推荐(1) 编辑