![](https://img-blog.csdnimg.cn/20201014180756780.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
工具
栈狮
这个作者很懒,什么都没留下…
展开
-
uniapp文件缓存技术(非tree版本)
话不多说上代码用的封装方式只需要导入19行的使用只需要38行的这个代码存到你封装的对应位置export const getFileCache = function(filePath, fileName, fileType) { // 缓存key值 let storageKey = 'FILE_CACHE_INFO_' + fileName + fileType const cacheFileInfo = uni.getStorageSync(storageKey).原创 2022-04-09 10:25:15 · 517 阅读 · 0 评论 -
uniapp+H5+移动端配置地图(保姆教程)
uniapp H5使用高德地图开发保姆教程原创 2022-02-08 22:24:14 · 2325 阅读 · 1 评论 -
vue-cli3x解决跨域
在根目录里的vue,config.js里配置//配置请求转发的代理//定义代理的对象//let proxyObj = {};//拦截http请求// proxyObj['/'] = {// ws: false, //关掉websocket// // target: 'http://47.107.158.11:8082', //目标转发的地址// target: 'http://localhost:8082', //目标转发的地址// changeOri原创 2021-04-15 00:00:12 · 145 阅读 · 0 评论 -
Vue使用音频播放器插件 vue-aplayer
安装 vue-aplayernpm install vue-aplayer --save引入、注册import aplayer from "vue-aplayer"; components: { aplayer },3.使用<!--music:当前播放的音乐。 list:播放列表 :showlrc:是否显示歌词--><aplayer :music="musics[0]" :list="musics" :showlrc="true"></aplaye..原创 2021-01-17 14:00:45 · 4600 阅读 · 8 评论