今天遇到个非常奇怪的现象,我在用elementplus时,使用到了el-drawer组件,它单独用,你随便点击,重复关闭和打开,重复多少次,都没问题,但是内部嵌套了一个el-table之后,现象就是,第一次打开drawer弹窗没问题,但是第二次打开就报错了,而且这个报错是偶然的,比如浏览器全屏报错,不全屏不报错了... 然后我的表格逻辑是这...
需求:我需要一个抽屉,没有遮罩,打开抽屉时还能操作界面其它地方。我尝试使用append-to=".content-section"指定它挂载到其父dom上,另外关闭遮罩:modal="false"。这些生效之后,Drawer外层依然有一层div,而且是fixed样式,这样我就无法点击抽屉以外的地方,求问怎么解决呢? 效果如下: 咳咳 代码如下:...
vue3项目使用element plus中的el-drawer抽屉组件,想自定义.el-drawer__header和.el-drawer__body的样式,使用:deep()为啥不起作用呢?比如想调整el-drawer抽屉组件的默认标题下外边距及标题字体颜色,和内容区域的默认内边距宽度代码如下图:环境版本如下图:其他如el-tabs等组件,使用:deep自定义重写样式都是可以的,...
>删除</el-button > </template>...</ElCard> <AddOrEditDrawer ref="drawer" :employeeRow="employeeRow" @confirmFunc="subData" /> </template> import { reactive, ref, onMounted } from'vue'import { ElTable, ElMessageBox } from'element-plus'import type { FormInstance } from'element-plus'...
沒用過element-plus 不過有個萬用通解,不用他的自己刻一個,區區一個drawer,怎樣都能刻吧...題外話...
<template> <el-button type="primary" @click="drawer = true">打开抽屉</el-button> <el-drawer title="抽屉标题" :visible.sync="drawer" direction="rtl" :before-close="handleClose"> <span>这里是抽屉的内容</span> </el-drawer> </temp...
Bug Type: Component Environment Vue Version: 3.2.41 Element Plus Version: 2.2.19 Browser / OS: Chrome 131.0.6778.205 Build Tool: Vite Reproduction Related Component el-drawer Reproduction Link Element Plus Playground Steps to reproduce 在...
Bug Type: Performance Environment Vue Version: 3.4.27 Element Plus Version: 2.7.5 Browser / OS: Edge Build Tool: Vite Reproduction Related Component el-drawer Reproduction Link Docs Steps to reproduce 使用edge浏览器 关闭浏览器中【在可用时使用图形加速】设
el-drawer 设置 modal="false" 后, 遮罩元素仍存在, 点不了空白的地方 el-tree 大数据量时接收 check-change 事件报错导致涉及多个节点的操作没执行完毕 el-table 表头 show-overflow-tooltip 无效解决办法 / 设置 class 控制全局超长隐藏, 以 el-tooltip 显示全部内容 ...
ElColorPicker,ElContainer,ElDatePicker,ElDialog,ElDivider,ElDrawer,ElDropdown,ElDropdownItem,ElDropdownMenu,ElFooter,ElForm,ElFormItem,ElHeader,ElIcon,ElImage,ElInput,ElInputNumber,ElLink,ElMain,ElMenu,ElMenuItem,ElMenuItemGroup,ElOption,ElOptionGroup,ElPageHeader,ElPagination,ElPopconfirm,El...