mirror of
https://gitee.com/iioter/iotgateway.git
synced 2024-11-29 18:28:09 +08:00
设备树显示状态图标
This commit is contained in:
parent
fa9476b554
commit
90eac18785
@ -40,6 +40,9 @@ namespace WalkingTec.Mvvm.TagHelpers.LayUI
|
|||||||
[JsonPropertyName("title")]
|
[JsonPropertyName("title")]
|
||||||
public string Title { get; set; }
|
public string Title { get; set; }
|
||||||
|
|
||||||
|
[JsonPropertyName("icon")]
|
||||||
|
public string Icon { get; set; }
|
||||||
|
|
||||||
[JsonPropertyName("id")]
|
[JsonPropertyName("id")]
|
||||||
public string Id { get; set; }
|
public string Id { get; set; }
|
||||||
|
|
||||||
|
@ -176,6 +176,7 @@ layui.use(['tree'],function(){{
|
|||||||
{
|
{
|
||||||
Id = s.Value.ToString(),
|
Id = s.Value.ToString(),
|
||||||
Title = s.Text,
|
Title = s.Text,
|
||||||
|
Icon = s.Icon,
|
||||||
Url = s.Url,
|
Url = s.Url,
|
||||||
Expand = s.Expended,
|
Expand = s.Expended,
|
||||||
Level = level,
|
Level = level,
|
||||||
|
Loading…
Reference in New Issue
Block a user