Use element card el-card settings to prevent bubbling click events

Initially use @click="hand"

Set in the hand method to prevent the bubbling event from reporting errors: Cannot set property bubbles of #<Event> which has only a getteronly access to properties cannot be modified

Solution:, @click.self="hand"stop bubbling

Guess you like

Origin blog.csdn.net/men_gqi/article/details/109678032