File tree Expand file tree Collapse file tree 1 file changed +19
-1
lines changed Expand file tree Collapse file tree 1 file changed +19
-1
lines changed Original file line number Diff line number Diff line change @@ -246,7 +246,25 @@ oss:
246
246
247
247
Ureport2 最新版本是 ` 2.2.9`,挺久没更新了,存在一个坑:在报表设计页打开一个已存在的报表设计文件时,可能会出现无法预览的情况,参考 ISSUE:https://github.com/youseries/ureport/issues/393
248
248
249
- 注意:该可能性出现在报表设计文件中使用了条件属性的情况下,修复方法就是打开文件之后,重新配置条件属性,此处是坑,小伙伴使用时注意下就好,最好的方法就是避免使用条件属性。
249
+ 
250
+
251
+ 解决办法:
252
+
253
+ 
254
+
255
+ 条件表达式变成 `undefined`,这里需要注意的是,我们的 xml 文件是正常的,只不过是 ureport 解析的时候出错了。
256
+
257
+ 
258
+
259
+ 点击编辑,重新选择表达式即可解决
260
+
261
+ 
262
+
263
+ 再次尝试预览
264
+
265
+ 
266
+
267
+ > 注意:该可能性出现在报表设计文件中使用了条件属性的情况下,修复方法就是打开文件之后,重新配置条件属性,此处是坑,小伙伴使用时注意下就好,最好的方法就是避免使用条件属性。
250
268
251
269
# # 3. 感谢
252
270
You can’t perform that action at this time.
0 commit comments