ant-design-vue/components/tabs/RefMixin.js

10 lines
122 B
JavaScript

export default {
methods: {
saveRef (name) {
return node => {
this[name] = node
}
},
},
}