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

条件属性解析错误 #393

Open
gagaboy opened this issue Oct 23, 2018 · 3 comments
Open

条件属性解析错误 #393

gagaboy opened this issue Oct 23, 2018 · 3 comments

Comments

@gagaboy
Copy link

gagaboy commented Oct 23, 2018

为了您的问题能得到及时准确解答,请认真填写下面各个选项,感谢您的配合。

  • 当前使用的UReport的具体版本号:

2.2.9

  • 遇到的问题描述:

条件属性设置为“表达式” 比如 column() == 1 ,保存报表。 重新打开报表,再去查看条件属性,界面显示 column() undefined 1
查看报表模版xml,发现内部文件没问题
说明应该是重新打开时,前端js解析部分出现了bug 目前仅发现 属性设置 为函数 操作符为等于 == 会出现此情况

  • 涉及到的异常信息(完整异常信息):

前端报错
Uncaught TypeError: Cannot read property 'replace' of undefined
at p (designer.bundle.js:1)
at h (designer.bundle.js:1)
at c (designer.bundle.js:1)
at Object.doPreview (designer.bundle.js:1)
at HTMLLIElement. (designer.bundle.js:1)
at HTMLLIElement.dispatch (jquery.min.js:3)
at HTMLLIElement.q.handle (jquery.min.js:3)

  • 相关截图:

@yuluoweiman
Copy link

+1
找了前端帮忙处理,说是JS混编看不了,解决了吗?

@changnain
Copy link

老哥 怎么解决的

@xkcoding
Copy link

希望作者可以修复下,谢谢!

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

4 participants