上一页 1 ··· 3 4 5 6 7 8 9 10 11 ··· 21 下一页
摘要: 限制上传文件格式.rar、.zip、.pdf、.jpg、.png、.docxantd 中upload对于限制上传文件格式的属性是accept,在开发的过程中,accept对于.doc、.docx、.pdf、.png、.jpg、.rar,格式的限制是完全没有问题的。但是测试和我说,当选择文件的自定义格 阅读全文
posted @ 2023-03-01 14:00 土小狗 阅读(770) 评论(0) 推荐(0) 编辑
摘要: 方法一 html { filter: grayscale(100%); -webkit-filter: grayscale(100%); -moz-filter: grayscale(100%); -ms-filter: grayscale(100%); -o-filter: grayscale(1 阅读全文
posted @ 2023-02-28 22:56 土小狗 阅读(174) 评论(0) 推荐(0) 编辑
摘要: 问题:后端返回的失败 blob 数据流, 前端如何捕获展示 业务需求,需要后端控制文件下载频率,用户在短时间内不可以重复下载文件,并返回消息提示 (剩余 XX 秒)。前端需要把返回数据msg消息展示弹出 数据在浏览器的响应里可以看到 但是在打印的 res 中却找不到对应的msg,也就没有办法将对应内 阅读全文
posted @ 2023-02-20 18:25 土小狗 阅读(391) 评论(0) 推荐(0) 编辑
摘要: option = { xAxis: { type: 'category', data: ['Mon', 'Tue', 'Wed', 'Thu', 'Fri', 'Sat', 'Sun','Mon', 'Tue', 'Wed', 'Thu',] }, // 三个y轴 yAxis: [{ type: ' 阅读全文
posted @ 2023-02-19 18:03 土小狗 阅读(581) 评论(0) 推荐(0) 编辑
摘要: js // pdf 预览 export function pdfYL(foreId) { return request({ url: '/bbs/regtech/law/download?id='+foreId, method: 'get', responseType: "blob", }) } i 阅读全文
posted @ 2023-02-08 10:02 土小狗 阅读(581) 评论(0) 推荐(0) 编辑
摘要: 需求 让 antd 的 Message 组件能够手动触发关闭 From to 思路 查看 antdv 文档 发现 Message 组件支持使用 VNode 作为显示内容,因此只需要使用 Vue 的 createElement 方法创建带有关闭样式的 VNode 即可。 实现 // 方法 const 阅读全文
posted @ 2023-02-06 17:00 土小狗 阅读(681) 评论(0) 推荐(0) 编辑
摘要: 创建一个 mixins ,我的文件路径为 : common/share.js export default { onShareAppMessage(res) { //发送给朋友 return {} }, onShareTimeline(res) {//分享到朋友圈 return {} }, } 或 阅读全文
posted @ 2023-01-30 00:26 土小狗 阅读(1238) 评论(0) 推荐(0) 编辑
摘要: 新增 let arr = [{ id: 1, name: '杨过' }, { id: 2, name: '过儿' }] arr.forEach(item => { item["status"] = false }) //对象 let obj = { } obj['state'] = 1 consol 阅读全文
posted @ 2023-01-16 00:06 土小狗 阅读(4715) 评论(0) 推荐(0) 编辑
摘要: 一.技术 exceljs;luckysheet 参考文档:使用exceljs导出luckysheet表格_csdn_lsy的博客-CSDN博客_luckysheet 导出; https://github.com/exceljs/exceljs/blob/HEAD/README_zh.md; 二.实现 阅读全文
posted @ 2023-01-14 12:18 土小狗 阅读(750) 评论(1) 推荐(0) 编辑
摘要: 不知不觉又到年底了,马上要过年了,特此在今夜做一篇年终总结,来回顾今年历经之感悟。 我一直在想,从月薪三千走到过万需要多久,刚来南京的时候,我头一次站在中华门外(第一家公司附近),也在一直思考这个问题。可等真的走到这,已经是满身疲惫,用了整整两年了。 在学校时尝试过很多路子,学过后端、前端、UE4, 阅读全文
posted @ 2023-01-11 23:56 土小狗 阅读(44) 评论(0) 推荐(0) 编辑
上一页 1 ··· 3 4 5 6 7 8 9 10 11 ··· 21 下一页