import { imageBasUrl } from '../../utils/config'; Component({ mixins: [], data: { imageBasUrl, editImage: `${imageBasUrl}/iamge/edit-show.png` }, props: { rowData: { name: '', cover: '' }, isEdit: false, onDelItem: { type: Function, value: () => { } } }, didMount() { }, didUpdate() { }, didUnmount() { }, methods: { delItem(event) { const item = event.target.dataset.item; this.props.onDelItem(item); } }, });