事件监听函数如果绑定之后不进行解绑的话,再触发其他事件的时候这个绑定时间依旧会被触发。比如:
<el-button type="primary" @click="testBtn1()">画点</el-button>
<el-button type="primary" @click="testBtn2()">画线一</el-button>
<el-button type="primary" @clic
事件监听函数如果绑定之后不进行解绑的话,再触发其他事件的时候这个绑定时间依旧会被触发。比如:
<el-button type="primary" @click="testBtn1()">画点</el-button>
<el-button type="primary" @click="testBtn2()">画线一</el-button>
<el-button type="primary" @clic