摘要: 录音功能各个版本 https://github.com/xiangyuecn/Recorder 以下是H5端 在打开录音的时候添加判断录音音量 var voiceMinCount = 0;var voiceMaxCount = 0; var recOpen=function(){//一般在显示出录音 阅读全文
posted @ 2024-03-28 10:11 江郎才尽吕小布 阅读(10) 评论(0) 推荐(0) 编辑
摘要: 如果你的项目文件夹里面的内容同时存在index.js index.vue(类似),那么路由配置路径的时候一定要带上.vue 如果单纯的写Index,会找到.js文件,导致页面不显示 阅读全文
posted @ 2024-02-01 09:55 江郎才尽吕小布 阅读(50) 评论(0) 推荐(0) 编辑
摘要: 1,模板部分 <view class="bottom-input" :style="{bottom:`${KeyboardHeight}rpx`}"> <view class="input-squire"> <u--textarea placeholder="请输入内容~" border="none 阅读全文
posted @ 2023-12-18 10:59 江郎才尽吕小布 阅读(443) 评论(0) 推荐(0) 编辑
摘要: 1,上传功能 <el-upload action="" ref='upload' :http-request="handleFileUpload" :limit="1" :show-file-list="false" > <i class="el-icon-upload2"></i> </el-up 阅读全文
posted @ 2023-11-10 10:39 江郎才尽吕小布 阅读(96) 评论(0) 推荐(0) 编辑
摘要: const { execFile } = require('child_process'); import axios from 'axios'; var FormData = require('form-data'); //截屏搜索 wxdllScreen(win){ // 编写你的代码 var 阅读全文
posted @ 2023-11-03 11:47 江郎才尽吕小布 阅读(1) 评论(0) 推荐(0) 编辑
摘要: 把红框中的注释的那行,注释或者删除都可 阅读全文
posted @ 2023-10-26 11:37 江郎才尽吕小布 阅读(61) 评论(0) 推荐(0) 编辑
摘要: 1,找到在 C:\Users\你的文件夹\AppData\Local\Atlassian\SourceTree 文件夹找到 passwd 和 userhosts 两个文件夹 2,删除passwd中的密码。删除userhosts中的账号 3,重新打开sourcetree,拉取代码或者推送代码时会让重新 阅读全文
posted @ 2023-09-15 14:43 江郎才尽吕小布 阅读(209) 评论(0) 推荐(0) 编辑
摘要: 1,先定义一个日期工具类,或者写在其他的方法中都行。定义工具类可重复使用 1 export function getDateRang(val) { 2 const now = new Date(); // 当前日期 3 const nowDayOfWeek = now.getDay(); // 今天 阅读全文
posted @ 2023-09-04 09:09 江郎才尽吕小布 阅读(193) 评论(0) 推荐(0) 编辑
摘要: 1,引入 import VXETable from 'vxe-table' 2, 1 //上传图片 2 async uploadImg (row) { 3 try { 4 const { file } = await VXETable.readFile({ 5 types: ['png', 'jpg 阅读全文
posted @ 2023-08-08 14:52 江郎才尽吕小布 阅读(275) 评论(0) 推荐(0) 编辑
摘要: 接受到的文件流是这样的 1,首先在请求时加上 responseType:'blob' request({ url: "url", method: "get", responseType:'blob', //加上这一行 params:params }) 2,在获取到返回来的文件流后进行处理 //传的参 阅读全文
posted @ 2023-07-06 09:49 江郎才尽吕小布 阅读(2917) 评论(0) 推荐(0) 编辑