这是indexloc提供的服务,不要输入任何密码
Skip to content

indexInParent() 在父控件始终返回 -1 (Edited) #16

@a4youma

Description

@a4youma

比如输出 log(text("首页").findOne().indexInParen()) 能正常显示,如果“首页”上还有父控件,要输出父控件的indexInParent(),就会出错,总是返回-1,即 log(text("首页").findOne().parent().indexInParen()),显示-1,。这个错误在autoXjs上一样存在,但这Pro版本中,能正常返回值,看来pro版已经修复了这个问题,希望autojs6能尽快修复,谢谢!

Metadata

Metadata

Assignees

No one assigned

    Labels

    Bug 🐞 故障Confirmed bugs or reports that are very likely to be bugsStale 🕳️ 远古Issue creater doesn't provide more specific information within a long time (often one month)

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions