给el-dialog添加@open="open()" 在刚进入页面的时候对话框是关闭的,echarts不进行获取dom,当点击对话框出来的时候,有个opened事件,在这个事件里边进行echarts的初始化,执行数据; <el-dialog lock-scroll width="80%" style="height:100%;" @opened="opens"> <divstyle="display:flex;"> <divref="chart1"></div> <divref="chart2"></div> <...

  YbdzAXd44ov4   2023年11月01日   38   0   0 Vue
关注 更多

空空如也 ~ ~

粉丝 更多

空空如也 ~ ~