会员
众包
新闻
博问
闪存
赞助商
HarmonyOS
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
tingorb
博客园
首页
新随笔
联系
订阅
管理
1
2
3
4
5
下一页
2025年1月7日
el-form validator的校验提示遮盖下边的内容
摘要: 问题:表单的validator校验,无法自动撑起tip提示的高度,导致遮盖了下边内容 https://blog.csdn.net/xiaoyuer_2020/article/details/136155506 解决方式:将tip提示的样式的定位设置为遵循正常的文档流对象,实现自适应高度 .el-fo
阅读全文
posted @ 2025-01-07 10:28 .Tik
阅读(69)
评论(0)
推荐(0)
2024年12月27日
el-table 公共样式
摘要: element-ui.scss 表格头 .el-table__header-wrapper .el-table__header tr>th { background-color: #f6f8fa; // background-color: #E9EEFA; font-size: 15px; font
阅读全文
posted @ 2024-12-27 17:04 .Tik
阅读(20)
评论(0)
推荐(0)
2024年12月25日
Echarts 固定Y轴刻度标签宽度
摘要: grid: { left: '100', // 固定左边刻度宽度 right: '4%', bottom: '3%', containLabel: true }, 参考:https://blog.csdn.net/tangrp/article/details/109212317
阅读全文
posted @ 2024-12-25 15:27 .Tik
阅读(255)
评论(0)
推荐(0)
2024年12月13日
报错:ResizeObserver loop completed with undelivered notifications.
摘要: 给弹窗添加关闭事件: <template> <el-dialog :title="dialog.title" :visible.sync="dialog.visible" width="60%" v-if="dialog.title '当日预警详情' || dialog.title '当月预警详情'
阅读全文
posted @ 2024-12-13 11:13 .Tik
阅读(919)
评论(0)
推荐(0)
2024年12月2日
utils公共方法:将数字转为汉字
摘要: utils/numberToChinese.js // 将四位数以内的数字转换为中文 function SectionToChinese(section) { const chnNumChar = [ '零', '一', '二', '三', '四', '五', '六', '七', '八', '九'
阅读全文
posted @ 2024-12-02 17:09 .Tik
阅读(33)
评论(0)
推荐(0)
解决:点击编辑时预警通知人(与科室下拉联动)会闪一下Id再显示汉字
摘要: 表单: <el-form-item label="通知人所在科室:" prop="ksdm"> <el-select v-model="formData.ksdm" placeholder="请选择" style="width: 90%" clearable filterable @change="
阅读全文
posted @ 2024-12-02 15:59 .Tik
阅读(14)
评论(0)
推荐(0)
2024年11月28日
uniapp
摘要: uniapp官网: https://uniapp.dcloud.net.cn/component/uniui/uni-breadcrumb.html uniapp组件: https://uniapp.dcloud.net.cn/component/button.html uCharts官网: htt
阅读全文
posted @ 2024-11-28 10:01 .Tik
阅读(63)
评论(0)
推荐(0)
2024年11月14日
解决table内容超常溢出时tooltip位置偏移的问题
摘要: 问题:表格数据return的时候文字过长导致悬浮框偏移到表格其他列上去了 <div style="width: 100px;" data-toggle="tooltip" data-placement="top" title="${displayValue}"> ${ displayValue }<
阅读全文
posted @ 2024-11-14 17:46 .Tik
阅读(143)
评论(0)
推荐(0)
2024年11月11日
vue跨页面调用函数
摘要: 1、在utils文件夹下创建中间件middle.js // 中间件 实现跨页面调用方法 import Vue from 'vue' export default new Vue 2、被调用页面代码 <template></template> <script> import Middle from '
阅读全文
posted @ 2024-11-11 15:45 .Tik
阅读(105)
评论(0)
推荐(0)
2024年11月7日
解决:在表单框内没有值的时候就点击弹窗确认按钮会触发表单校验,但是之后若填了值表单校验还在
摘要: save2() { // 在点击确认按钮时,首先清除表单的校验错误 this.$refs.formRef2.clearValidate(); // 重新进行校验 this.$refs.formRef2.validate((valid) => { if (valid) { // 修改操作 if (th
阅读全文
posted @ 2024-11-07 10:48 .Tik
阅读(82)
评论(0)
推荐(0)
1
2
3
4
5
下一页
公告