摘要: 接受到的文件流是这样的 1,首先在请求时加上 responseType:'blob' request({ url: "url", method: "get", responseType:'blob', //加上这一行 params:params }) 2,在获取到返回来的文件流后进行处理 //传的参 阅读全文
posted @ 2023-07-06 09:48 江郎才尽吕小布 阅读(3481) 评论(0) 推荐(0) 编辑
摘要: 使用@mousedown,@mouseup,@mousemove分别创建三个方法实现会出现鼠标快速移动的时候出现框卡住。 所以只能使用原生js来解决 1,标签看你用的哪个UI框架,事件只加这一个即可,然后这个你想在哪个区域实现拖动事件 @mousedown 就放在哪里 <v-btn @mousedo 阅读全文
posted @ 2022-06-14 17:51 江郎才尽吕小布 阅读(824) 评论(0) 推荐(0) 编辑
摘要: 配置wx.config流程: 微信公众号中获取签名需要访问的前端的页面的uri给服务器端获取,服务端获取公众号唯一标识、签名时间戳、签名等信息 代码如下: 1 let url = '' 2 var ua= window.navigator.userAgent.toLowerCase(); 3 //企 阅读全文
posted @ 2021-10-20 16:13 江郎才尽吕小布 阅读(873) 评论(0) 推荐(0) 编辑
摘要: 这里是简单的描述一下如何使用vant局部刷新访问后台 这里上拉加载,下拉刷新,写了两遍的访问接口。如果想写一边可通过参数在getList中控制判断。 1 <template> 2 <div> 3 <van-pull-refresh v-model="refreshing" @refresh="onR 阅读全文
posted @ 2020-08-14 10:04 江郎才尽吕小布 阅读(3669) 评论(0) 推荐(0) 编辑
摘要: vue跨域 阅读全文
posted @ 2020-08-10 08:54 江郎才尽吕小布 阅读(2496) 评论(0) 推荐(0) 编辑
摘要: 废话不多说直接上代码,以下只是跳转到APP store 的方法 //在App Store Connect中的App Store下的app信息,可找到appleId let appleId= 1515706501 plus.runtime.launchApplication({ action: `it 阅读全文
posted @ 2020-07-28 16:09 江郎才尽吕小布 阅读(7556) 评论(0) 推荐(0) 编辑
摘要: 可能有很多小伙伴在做ios App的时候无法进行安装包的测试,下面我只是提供一下测试的一种方式。 1,在香蕉云编上注册自己的信息并登陆,链接:https://www.yunedit.com/createapp (可能会要求开通会员:一年59元) 2,在官网页面有个“扫码获取UDID”,用苹果手机扫码 阅读全文
posted @ 2020-06-19 10:21 江郎才尽吕小布 阅读(2140) 评论(0) 推荐(1) 编辑
摘要: var button = document.getElementById('JdownApp2'); button.href="https://apps.apple.com/cn/app/你应用的名字/id11646468" 上面的应用后面的id是你上传到appstore后,在App Store C 阅读全文
posted @ 2020-06-12 15:29 江郎才尽吕小布 阅读(3291) 评论(0) 推荐(0) 编辑
摘要: <!doctype html> <html lang="en"> <head> <meta charset="UTF-8"> <meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0 阅读全文
posted @ 2020-05-08 19:28 江郎才尽吕小布 阅读(2492) 评论(0) 推荐(0) 编辑
摘要: uniapp iconfont 图标 阅读全文
posted @ 2019-12-08 17:30 江郎才尽吕小布 阅读(2227) 评论(0) 推荐(0) 编辑