摘要:
问题现象:断点调试时长时间未结束,接口响应时间超长导致代码报错Lock wait timeout exceeded; try restarting transaction 详细https://www.cnblogs.com/shineman-zhang/articles/17539617.html 阅读全文
摘要:
1.安装jspdf插件:npm install jspdf --save 2.安装html2canvas插件:npm install html2canvas --save 3.代码: <el-row> <el-button type="primary" @click="downloadPDF">导出 阅读全文
摘要:
1.安装vue3-esign:npm i vue3-esign 2.main.ts中引入: import Vue3Esign from 'vue3-esign' app.use(Vue3Esign) 3.页面中代码: <van-nav-bar title="手写签字" left-arrow fixe 阅读全文
摘要:
<el-dialog title="签字板" v-model="visible" width="1000px" append-to-body> <canvas @mousemove="canvasMove" @mouseup="canvasUp" ref="canvas" width="1000" 阅读全文
摘要:
1.安装依赖:npm install vite-plugin-svg-icons -D 2.vite.config.ts 中配置: import { createSvgIconsPlugin } from 'vite-plugin-svg-icons' // 在export default ({ c 阅读全文
摘要:
一、项目要求 从远程仓库主干(名称:dev)创建自己的远程分支(dev_wj),先从远程仓库拉取代码,切换到自己的远程分支,将拉下来的代码合并到自己的远程分支,将自己本地修改的代码提交到自己的远程分支,创建合并请求。 (拉代码:git clone http://192.168.1.xxx/xx/xx 阅读全文
摘要:
1 <el-table 2 ref="table" 3 id="ascendDetailTable" 4 :data="tableData" 5 border 6 height="100%" 7 :summary-method="getSummaries" 8 show-summary 9 styl 阅读全文
摘要:
今天打包的时候发现这样的问题,解决方式: 找到webpack.base.conf.js文件,加入下边的代码: { test: /\.mjs$/, loader: "babel-loader", include: [resolve("node_modules/@vant/popperjs/dist/i 阅读全文
摘要:
1 console.log(new Intl.NumberFormat().format(1000)) // 1,000 2 console.log(new Intl.NumberFormat('zh-CN').format(1000)) // 1,000 中文 3 console.log(new 阅读全文
摘要:
1.JSON.stringify()是把javascript对象转换成json字符串,JSON.parse()是把字符串转换成对象,toString可以把数组变成字符串 toString()方法主要见:https://www.w3school.com.cn/jsref/jsref_tostring_ 阅读全文