标签: vue.js vuejs2
我的自定义指令的代码:
Vue.directive('position', { // When the bound element is inserted into the DOM... inserted: function (el) { // exist directive v-sors }})