摘要: /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 阅读(17) 评论(0) 推荐(0)
摘要: { title: '操作', key: 'action', align: 'center', renderHead: () => {}, // 自定义表头样式 className: 'col_oper', width: 120, render: (h, params) => { // 自定义列 re 阅读全文
posted @ 2023-12-26 17:32 everseven 阅读(91) 评论(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 阅读(1616) 评论(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 阅读(41) 评论(0) 推荐(0)
摘要: 1. backgroud,限制高度,加overflow,codeopen, 只是在内容上边加阴影 .g-scroll { top: -1px; position: relative; height: 500px; overflow-y: scroll; overflow-x: hidden; bac 阅读全文
posted @ 2023-12-20 09:51 everseven 阅读(60) 评论(0) 推荐(0)
摘要: 更新权威参考链接 安装:npm i ali-oss 封装一个class类, 使用方法: 1、引入 2、初始化类 3、上传裁剪后的图片,cavas转base64,转为文件类型,传递给类方法 封装class, js文件: import axios from 'axios' import urlConfi 阅读全文
posted @ 2023-09-01 14:41 everseven 阅读(43) 评论(0) 推荐(0)
摘要: <el-date-picker v-model="searchForm.date" @change="getDate" type="daterange" range-separator="至" value-format="yyyy-MM-dd HH:mm:ss" :default-time="['0 阅读全文
posted @ 2023-07-05 13:50 everseven 阅读(515) 评论(0) 推荐(0)
摘要: 原文 , 参考2 handleBeforeCommon(file, w,h,msg,size=500){ const isLtm500K = file.size / 1024 > size const isType = file.type 'image/jpeg' || file.type 'ima 阅读全文
posted @ 2023-06-28 13:42 everseven 阅读(181) 评论(0) 推荐(0)
摘要: 参考 参考例子 帮助理解 Promise 的回调函数属于异步任务,会在同步任务之后执行。但是,Promise 的回调函数不是正常的异步任务,而是微任务(microtask)。它们的区别在于,正常任务追加到下一轮事件循环,微任务追加到本轮事件循环。这意味着,微任务的执行时间一定早于正常任务。 阅读全文
posted @ 2023-05-25 14:38 everseven 阅读(17) 评论(0) 推荐(0)
摘要: v-loading.fullscreen.lock="fullscreenLoading" 阅读全文
posted @ 2023-03-30 13:56 everseven 阅读(61) 评论(0) 推荐(0)