We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1df03eb commit f8f4c52Copy full SHA for f8f4c52
packages/taro-platform-harmony/src/runtime-framework/react/native-page.ts
@@ -442,10 +442,10 @@ export function createNativeComponentConfig (
442
this.config = componentConfig
443
app!.mount!(
444
Component,
445
- compId.toString(),
+ compId,
446
() => this,
447
() => {
448
- const el = document.getElementById(compId.toString())
+ const el = document.getElementById(compId)
449
450
if (!el) {
451
throw new Error(`没有找到组件实例。`)
0 commit comments