|
本帖最后由 dangolol 于 2020-4-10 16:05 编辑
java.lang.IndexOutOfBoundsException: index=1 count=0
at android.view.ViewGroup.addInArray(ViewGroup.java:5167)
at com.miui.internal.variable.v16.Android_View_ViewGroup_class.callOriginalAddInArray(SourceFile:101)
at com.miui.internal.variable.v21.Android_View_ViewGroup_class.callOriginalAddInArray(SourceFile:101)
at com.miui.internal.variable.v16.Android_View_ViewGroup_class.handleAddInArray(SourceFile:94)
at android.view.ViewGroup.addViewInner(ViewGroup.java:5060)
at android.view.ViewGroup.addView(ViewGroup.java:4869)
at org.hapjs.component.view.l.addView(SourceFile:85)
at org.hapjs.component.view.b.a.addView(SourceFile:123)
at org.hapjs.component.Container.a(SourceFile:310)
at org.hapjs.component.Container.b(SourceFile:252)
at org.hapjs.render.vdom.VGroup.a(SourceFile:60)
at org.hapjs.render.vdom.VGroup.addChild(SourceFile:54)
at org.hapjs.render.vdom.a.b(SourceFile:214)
at org.hapjs.render.vdom.a.a(SourceFile:67)
at org.hapjs.render.RootView.applyAction(SourceFile:933
错误信息如上
input组件格式如下
- <input class="search-bar-input" placeholder="搜索内容" type="text">
复制代码 删除改组件则不报错
|
|