vue3.0+element plus 的el-container中,el-aside可以拖拽的方法(drag)

首先在setup中定义一个类 const widthData=reactive({ with:500 }); 然后编写方法: const updateWidth=()=>{ let resize= document.getElementById("asideId"); console.log(res
posted @ 2021-12-02 16:55  龙丶谈笑风声  阅读(2240)  评论(0编辑  收藏  举报