mirror of
https://gitee.com/dgiiot/dgiot.git
synced 2024-12-02 04:08:54 +08:00
fix: 组态显示单位缺失修改
This commit is contained in:
parent
dfc16e60e8
commit
ca89e73a08
@ -268,7 +268,7 @@ get_attrs(Type, ProductId, ClassName, Attrs, DeviceId, KonvatId, Shapeid, Identi
|
||||
{ok, Text1} ->
|
||||
get_konva_value(ProductId, Identifier1, Text1)
|
||||
end,
|
||||
NewAttrs = Attrs#{<<"id">> => dgiot_parse_id:get_shapeid(DeviceId, Id), <<"text">> => Text, <<"draggable">> => false},
|
||||
NewAttrs = Attrs#{<<"id">> => dgiot_parse_id:get_shapeid(DeviceId, Id), <<"text">> => <<Text/binary, " ", Unit/binary>>, <<"draggable">> => false},
|
||||
save(Type, NewAttrs),
|
||||
X#{<<"attrs">> => NewAttrs}
|
||||
end
|
||||
|
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Loading…
Reference in New Issue
Block a user