摘要: 新建一个js文件放指令文件夹 import Vue from "vue"; const drag = Vue.directive("drag", { //只执行一次 bind: function(el, bind) { el.style.cursor = "move"; //鼠标样式变move样式 阅读全文
posted @ 2021-12-15 15:28 Jennyishere 阅读(205) 评论(0) 推荐(0)