永洪社区

标题: 图片脚本链接图片URL不生效 [打印本页]

作者: Malelee    时间: 2023-2-20 10:51
标题: 图片脚本链接图片URL不生效
在图片组件-设置-脚本-装载时运行/变化时运行 编写脚本:图片1.imageUrl="http://localhost:8080/im/20201.png"

保存之后,预览 图片不显示不生效,请问问题出在哪了
网络之间是通的 下面放的是网页组件 链接的同样的URL
详情可以看附图

作者: yhdata_ruby    时间: 2023-2-20 11:02
图片组件?参考https://www.yonghongtech.com/hel ... 7%E7%BB%84%E4%BB%B6
作者: Malelee    时间: 2023-2-20 11:20
yhdata_ruby 发表于 2023-2-20 11:02
图片组件?参考https://www.yonghongtech.com/help/Z-Suite/10.0/ch/make_visual_dashboard_assist_picture ...

就是想通过这种方式 实现动态图片 帮助中心就是这么写的  按照帮助中心这么写 为什么不生效 实现不了

作者: Malelee    时间: 2023-2-20 11:21
yhdata_ruby 发表于 2023-2-20 11:02
图片组件?参考https://www.yonghongtech.com/help/Z-Suite/10.0/ch/make_visual_dashboard_assist_picture ...

现在还没到加参数的那一步 直接链接图片url 就不生效  图片的路径D:\Yonghong Z-Suite\tomcat\webapps\im
作者: yhdata_ruby    时间: 2023-2-20 11:34
Malelee 发表于 2023-2-20 11:21
现在还没到加参数的那一步 直接链接图片url 就不生效  图片的路径D:\Yonghong Z-Suite\tomcat\webapps\im ...

参考https://club.yonghongtech.com/fo ... 87%2Burl&page=1
https://club.yonghongtech.com/fo ... B%BE%E7%89%87%2Burl
作者: Malelee    时间: 2023-2-20 11:49
yhdata_ruby 发表于 2023-2-20 11:34
参考https://club.yonghongtech.com/forum.php?mod=viewthread&tid=32255&extra=&highlight=%E5%9B%BE%E7 ...

参考的就是这个动态图片
https://www.yonghongtech.com/hel ... html#dynamicpicture
不好使呀在脚本里这么写不行?

作者: yhdata_xEfQfOac    时间: 2023-2-20 11:56
打卡
作者: yhdata_ruby    时间: 2023-2-20 13:10
Malelee 发表于 2023-2-20 11:49
参考的就是这个动态图片
https://www.yonghongtech.com/help/Z-Suite/9.4/ch/make_visual_dashboard_assi ...

添加到网络资源里看看
作者: yh_k2ueoC6z    时间: 2023-4-17 09:36

这个动态显示图片的问题解决了吗?
作者: yhdata_ruby    时间: 2023-4-17 09:40
yh_k2ueoC6z 发表于 2023-4-17 09:36
这个动态显示图片的问题解决了吗?

为了给您提供更具针对性的帮助  这个问题建议您重新发帖提问哦 您记得把问题表述清楚
作者: yhdata_BUFHEmoz    时间: 2023-4-17 09:47
Malelee 发表于 2023-2-20 11:49
参考的就是这个动态图片
https://www.yonghongtech.com/help/Z-Suite/9.4/ch/make_visual_dashboard_assi ...

需要脚本动态切换网络资源图片,必需先在图片上设置一个网络资源类型的图片
作者: yhdata_ruby    时间: 2023-4-17 13:45
yhdata_BUFHEmoz 发表于 2023-4-17 09:47
需要脚本动态切换网络资源图片,必需先在图片上设置一个网络资源类型的图片 ...






欢迎光临 永洪社区 (http://club.yonghongtech.com/) Powered by Discuz! X3.4