Before the event bubble is vague, you can go to have a look oh, the following is a small problem encountered in the projectCopy the code
Question:
When using the Element-UI counter today, there is a check-box on the outside that doesn’t stop bubbling. Div = click.stop div = click.stop div = click.stop div = click.stop div = click.stop div = click.stop div
<el-checkbox class="layout-block ml30" v-model="add""> this is a counter <div @click.stop.prevent style="display:inline">
<el-input-number
:disabled=! "" add" controls-position="right" v-model="addNum"
size="mini" :step="1" :min="0":max="9"></el-input-number>
</div>
</el-checkbox>
Copy the code