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

[BUG] <title> 微信小程序 map onLabeltap 事件无效 #2418

Open
1 task
chenShengKang opened this issue Oct 27, 2023 · 0 comments
Open
1 task

[BUG] <title> 微信小程序 map onLabeltap 事件无效 #2418

chenShengKang opened this issue Oct 27, 2023 · 0 comments
Labels

Comments

@chenShengKang
Copy link

⌨️

  • Would you like to work on a fix?

Where is the bug from?

Rax Core

Minimal code and steps to reproduce the bug

<map
enable-building
enable-traffic
id="navi_map"
longitude={longitude}
latitude={latitude}
scale={scale}
markers={markers}
style={{ width: '100%', height: '100%', flex: '1' }}
onMarkertap={(e) => onMakerClick(e)}
onLabeltap={(e) => onMakerClick(e)}
/>

Current and expected behavior

image
image
点击事件无法执行

Environment

"rax": "^1.1.0",
"rax-app-renderer": "^3.0.3",
"rax-button": "^0.6.5",
"rax-document": "^0.1.0",
"rax-embed": "^1.2.2",
"rax-image": "^2.0.0",
"rax-link": "^1.0.1",
"rax-picker": "^0.6.5",
"rax-scrollview": "^3.7.4",
"rax-server-renderer": "^1.4.1",
"rax-slider": "^3.1.5",
"rax-swiper": "^0.2.0",
"rax-text": "^2.0.0",
"rax-use-router": "^3.1.2",
"rax-video": "^1.6.0",
"rax-view": "^2.0.0"
node v16.18.1

build.json

{
"targets": ["web", "wechat-miniprogram"],
"webpack5": true,
"plugins": ["build-plugin-fusion-mobile"],
"publicPath": "./",
"wechat-miniprogram": {
"subPackages": true,
"nativeConfig": {
// "appid": "wx153595e9066fcafa",
"appid": "wx6cd83ad69409b652",
"setting": {
"es6": true,
"urlCheck": false,
"minified": true
}
}
},
"proxy": {
"/devApi": {
"enable": true,
"target": "http://192.168.2.75:5566",
"changeOrigin": true,
"pathRewrite": {
"^/devApi": ""
}
},
"/proApi": {
"enable": true,
"target": "https://lczhyl.lucheng.gov.cn/dev-api",
"changeOrigin": true,
"pathRewrite": {
"^/proApi": ""
}
}
},
"browserslist": {
"chrome": 49,
"ie": 11
}
}

Possible solution

No response

Additional context

No response

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

No branches or pull requests

1 participant