摘要: <Upload :action="urlDoMain + 'middle/bla'" :headers="{ 'Current-id': accountId, 'Current-name': account, }" :max-size='10240' :on-exceeded-size='handl 阅读全文
posted @ 2024-12-27 16:47 everseven 阅读(6) 评论(0) 推荐(0) 编辑
摘要: 参考链接: https://blog.csdn.net/qq_42493241/article/details/120021001 照搬成功 (以防链接失效截图) 阅读全文
posted @ 2024-11-20 17:37 everseven 阅读(14) 评论(0) 推荐(0) 编辑
摘要: 找了各种原因,最后把包裹el-col的el-row标签去掉后就可以了,没看到el-col上边还有一层el-row,应该是这个原因导致渲染失败 参考这个博主: https://blog.csdn.net/qq_45327886/article/details/120796524 阅读全文
posted @ 2024-09-23 19:35 everseven 阅读(26) 评论(0) 推荐(0) 编辑
摘要: export function downLoad (res, name, type) { // 封装方法 let resfileName = decodeURI(res.headers['content-disposition'].split('=')[1]) // 取后台命名 let fileNa 阅读全文
posted @ 2024-08-17 11:07 everseven 阅读(65) 评论(0) 推荐(0) 编辑
摘要: https://zhuanlan.zhihu.com/p/664368114 (简化版 1. 创建websocket对象,初始化 创建对象,开启、onmsg、关闭 开启, 开始心跳检测 发送传递信息(if websocket 对象存在,且处于open状态 onmsg, 接收服务器传送过来的信息,进行 阅读全文
posted @ 2024-01-25 16:40 everseven 阅读(37) 评论(0) 推荐(0) 编辑
摘要: <template> <!-- columns存在render,超出显示tooltip+省略号--> <Tooltip placement="right-end" :content="value" :disabled="!showTooltip" style="width: 100%"> <span 阅读全文
posted @ 2024-01-08 18:23 everseven 阅读(141) 评论(0) 推荐(0) 编辑
摘要: /deep/ .ivu-input::-webkit-input-placeholder ,.ivu-input::-moz-placeholder,.ivu-input::-moz-placeholder, .ivu-input::-ms-input-placeholder { color:#99 阅读全文
posted @ 2024-01-05 11:15 everseven 阅读(8) 评论(0) 推荐(0) 编辑
摘要: { title: '操作', key: 'action', align: 'center', renderHead: () => {}, // 自定义表头样式 className: 'col_oper', width: 120, render: (h, params) => { // 自定义列 re 阅读全文
posted @ 2023-12-26 17:32 everseven 阅读(55) 评论(0) 推荐(0) 编辑
摘要: 两种方法: 1.自带属性,自带样式 ; 2. 自定义样式 renderBarChart () { // let that = this const barChart = echarts.init(document.getElementById('bar-chart')) const barOptio 阅读全文
posted @ 2023-12-26 15:07 everseven 阅读(1423) 评论(0) 推荐(0) 编辑
摘要: <div class="echart_wrap"> <div id="bar-chart" ref="barChartRef" style="width:50%;height:250px;"></div> <div id="pie-chart" ref="pieChartRef" style="wi 阅读全文
posted @ 2023-12-25 18:21 everseven 阅读(31) 评论(0) 推荐(0) 编辑
点击右上角即可分享
微信分享提示