aiccs/src/mixin/myMixin.js

22 lines
336 B
JavaScript

export default {
data() {
return {
name: 'mixin',
showMore: false
}
},
created() {
},
mounted() {},
methods: {
showMoreCriteria() {
this.showMore = !this.showMore
},
tableRowClassName({ row, rowIndex }) {
if (rowIndex % 2 === 1) {
return 'warning-row'
}
}
}
}