uni-app——uniapp uView u-button 设置了 disabled 为 true 还能触发 click 事件

问题复现:

<u-button type="primary" :disabled="true" @click="myClick"> 点击我 u-button>
methods: {
   
  myClick(){
   
    console.log('被禁用但还是进

你可能感兴趣的:(uni-app,uni-app)