收藏
回答

求助,kbone打包原生组件使用@bindinput和@input绑定editor输入监听不生效?

<wx-editor v-else id="testeditor" class="hdf-textarea-con" ref="hdfText" rows="5" @bindinput="change" v-model="text" :placeholder="placeholder"></wx-editor>

<wx-editor v-else id="testeditor" class="hdf-textarea-con" ref="hdfText" rows="5" @input="change" v-model="text" :placeholder="placeholder"></wx-editor>


回答关注问题邀请回答
收藏

1 个回答

  • 郭家铭
    郭家铭
    2021-06-23

    经调试,清掉小程序缓存,kbone打包使用@input可以绑定原生组件editor输入监听事件,可以取到输入值

    2021-06-23
    有用
    回复
登录 后发表内容