dialog的移动、全屏
1.创建一个el-drag-dialog.js
export default {
bind(el, binding, vnode, oldVnode) {
//初始非全屏
let isFullScreen = false;
//当前宽高
let nowWidth = 0;
let nowHight = 0;
//当前顶部高度
let nowMarginTop = 0;
//获取弹框头部(这部分可双击全屏)
const dial
原创
2021-04-15 11:48:47 ·
221 阅读 ·
0 评论