Subscribe on changes!

The incident strangely penetrated

avatar
Oct 4th 2023

Vue version

@vue/cli 5.0.8

Link to minimal reproduction

null

Steps to reproduce

  <div class="btn-content">
    <el-button >
      <slot></slot>
    </el-button>
  </div>
</template>

 <fs-button  :onclick="handleCancel1">test</fs-button>```
 
 const handleCancel1 = () => {
  console.log(2)
}

Check control trigger handleCancel1

The event is still bound to class = btn-content


### What is expected?

Why

### What is actually happening?

Why

### System Info

```shell
Why

Any additional comments?

No response

avatar
Oct 4th 2023

Please follow the issue template, otherwise we'll close the issue directly. Thank you.