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

xml中使用了this, webpack不认识autojs里面的xml中的this, 请用其他方式实现 #2

Open
mingdong88 opened this issue May 3, 2020 · 0 comments

Comments

@mingdong88
Copy link

mingdong88 commented May 3, 2020

1、xml中使用了this, webpack不认识autojs里面的xml中的this, 请用其他方式实现
请问如何替换this?
<list id="apps" layout_weight="1"> <text id="name" text="{{this.Name}}" marginTop="16" maxLines="1" ellipsize="end"/> <text id="path" text="{{apps[这里的索引值应该用什么?].Name}}" marginTop="8" maxLines="1" ellipsize="end"/> </list>
使用apps[0].Name固定索引值是可以的,不知变量该用什么?或者有什么其它方法

非常感谢!

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

No branches or pull requests

1 participant