vue2 element ui dialog拖拽功能实现。
摘要:
完整实现代码 1. 创建指令文件(推荐) 新建 src/directives/drag.js import Vue from 'vue' Vue.directive('drag', { bind(el) { // 获取 Dialog 标题栏和内容区 const dialogHeader = el.q 阅读全文
posted @ 2026-06-09 10:53 爱记录的龙果果 阅读(17) 评论(0) 推荐(0)
浙公网安备 33010602011771号