Vue.js Vue2:如何在自定义指令中重用现有指令?
我的自定义指令的代码:Vue.js Vue2:如何在自定义指令中重用现有指令?,vue.js,vuejs2,Vue.js,Vuejs2,我的自定义指令的代码: Vue.directive('position', { // When the bound element is inserted into the DOM... inserted: function (el) { // exist directive v-sors }})
Vue.directive('position', {
// When the bound element is inserted into the DOM...
inserted: function (el) {
// exist directive v-sors
}})