- 昵称:51助手
- 博龄:4年6个月8天
- 粉丝:122
- 关注:108
- +关注
搜索
文章分类
博客档案
uniapp 使用vuex
摘要:示列:根目录下新建store/index.jsimport Vue from 'vue' import Vuex from 'vuex' Vue.use(Vuex) const store = new Vuex.S
2021-10-02 23:39:48
51助手
阅读(88)
评论(0)
uniapp封装Promise请求
摘要:创建文件./unit/http.js// 封装promise网络请求 const BASE_URL = "http://www.51cdev.com/api/" export const myRequest = (options ) =
2021-09-18 21:23:30
51助手
阅读(82)
评论(0)
uniapp引入阿里字体图标~@/static/fonts/
摘要:将下载下来的字体图标放入.static/fonts 目录下在指定页面引入或在vue入口文件中全局引入<style> /* 引入阿里字体图标 */ @import url("./static/fonts/iconfont.css"); </st
2021-09-18 01:38:04
51助手
阅读(195)
评论(0)