在做项目的时候页面上需要设置的东西太多,所以将所有的设置按钮归于一个,点击后出现一个抽匣,在上面做设置就是了
Drawer 抽屉的设置
<el-drawer
title="我是标题"
:with-header="drawerProp.withHeader"
size="35%"
:append-to-body="drawerProp.appendToBody"
:visible.sync="drawerProp.drawer"
:direction="drawerProp.direction"
:modal = "drawerProp.model"
:before-close="handleClose">
</el-drawer>
在data()中设置:
drawerProp:{
direction: 'ltr&
本文介绍了在Vue.js项目中使用Element-UI的Drawer组件时,如何处理点击抽屉打开后标题出现的蓝色边框,提供了解决这一视觉问题的方法。
最低0.47元/天 解锁文章
2193

被折叠的 条评论
为什么被折叠?



