Skip to content

原生小程序 点击事件怎么使用的,请指点一下 #618

@Tamarackwyh

Description

@Tamarackwyh

点击事件没有生效,希望实现点击超链接跳转页面

linktap(e) {
const { href = '' } = e || {};
console.log('点击链接:', href)
if (href) {
wx.navigateTo({
url: '/pages/article/article?url=' + href,
})
}
},

copy-link="{{false}}"
bind:tap="linktap"

Metadata

Metadata

Assignees

No one assigned

    Labels

    questionFurther information is requested

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions