We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
问题描述
wxml 如果存在 引用模板的时候,template 里边的事件没法编译,无法使用 proxyEventHandler。
导致在 proxyEventHandler 里做的一些埋点不起作用。
比如:
<template name="xxx"> <view bindtap="clickMe">点击一下</view> </template> <template is="xxx" />
期望编译结果
<view bindtap="__invoke" data-eventconfigs='{{ {tap:[["clickMe"]]} }}'>点击一下</view>
实际编译结果
<view bindtap="clickMe">点击一下</view>
另外,使用 import 或者 include 引入模板的时候估计也会有这个问题,希望一起修复一下
template 文档:https://developers.weixin.qq.com/miniprogram/dev/reference/wxml/template.html
import/include 文档:https://developers.weixin.qq.com/miniprogram/dev/reference/wxml/import.html
The text was updated successfully, but these errors were encountered:
https://github.com/didi/mpx/releases/tag/v2.9.33 已支持
Sorry, something went wrong.
No branches or pull requests
问题描述
wxml 如果存在 引用模板的时候,template 里边的事件没法编译,无法使用 proxyEventHandler。
导致在 proxyEventHandler 里做的一些埋点不起作用。
比如:
期望编译结果
实际编译结果
另外,使用 import 或者 include 引入模板的时候估计也会有这个问题,希望一起修复一下
template 文档:https://developers.weixin.qq.com/miniprogram/dev/reference/wxml/template.html
import/include 文档:https://developers.weixin.qq.com/miniprogram/dev/reference/wxml/import.html
The text was updated successfully, but these errors were encountered: