Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

renderjs绑定的事件方法在安卓端不生效 #5299

Open
roddc opened this issue Feb 5, 2025 · 0 comments
Open

renderjs绑定的事件方法在安卓端不生效 #5299

roddc opened this issue Feb 5, 2025 · 0 comments

Comments

@roddc
Copy link

roddc commented Feb 5, 2025

 <template>
 <canvas
    canvas-id="canvas"
    class="canvas"
    :disable-scroll="true"
    @touchstart="test.touchstart"></canvas>
</template>

<script module="test"  lang="renderjs">
export default {
methods:{
  touchstart(){
// 好像没有绑定到这个方法
   console.log('touchstart');
  }
}

}
</script>

但直接在<script></script>里定义的方法就可以使用, 或在浏览器里也生效,就是在安卓端不生效

安卓版本: MIUI 10.3.7 和 Xiaomi HyperOS 2.0.26都不生效
Vue版本: 3.4.38
Uniapp版本: 3.0.0-4020420240722002

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant