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