我需要在node-red面板中更改ui_template的URL。如果我写类似的东西:
<iframe src="https://online.wonderware.eu/s/l5kctp/Explore/Analysis/loquesea/Embed"></iframe>
我试图用下一个代码获取有效载荷:
<iframe src={{msg.payload}}></iframe>
有效载荷为:
msg.payload="https://online.wonderware.eu/s/l5kctp/Explore/Analysis/loquesea/Embed";
我尝试了很多方法来读取有效载荷,但无法正确读取。
您知道如何读取有效负载并更改ui_template url吗?
谢谢