12345678910111213141516171819202122232425 |
- Component({
- properties: {
- list: Array,
- showAll: {
- type: Boolean,
- value: true
- },
- clickItem: Function
- },
- methods: {
-
- clickItem(e) {
- const {
- item
- } = e.currentTarget.dataset;
- this.triggerEvent("clickItem", item)
- },
-
- clickRep(e) {
- const {
- item
- } = e.currentTarget.dataset;
- }
- }
- })
|