Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Contribute to GitLab
Sign in / Register
Toggle navigation
T
Thick-Common
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
潘栩锋
Thick-Common
Commits
cac989ca
Commit
cac989ca
authored
Oct 20, 2020
by
潘栩锋
🚴
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
修复 当没有布局文件时,manager.layout.GageTabItems=null 出错
parent
735de845
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
1 deletion
+3
-1
OnInitControllerState.cs
...ck.Base/FLY.Thick.Base.UI/OnInit/OnInitControllerState.cs
+3
-1
No files found.
Project.FLY.Thick.Base/FLY.Thick.Base.UI/OnInit/OnInitControllerState.cs
View file @
cac989ca
...
...
@@ -82,7 +82,7 @@ namespace FLY.Thick.Base.UI.OnInit
DynArea
dynarea
=
s
as
DynArea
;
var
t
=
tags
.
Find
(
_t
=>
_t
.
dynArea
==
dynarea
);
if
(
e
.
PropertyName
==
"ControllerState"
)
if
(
e
.
PropertyName
==
nameof
(
DynArea
.
ControllerState
)
)
{
UpdateControllerState
(
t
);
}
...
...
@@ -104,6 +104,8 @@ namespace FLY.Thick.Base.UI.OnInit
return
;
//找出设备页面
if
(
manager
.
layout
.
GageTabItems
==
null
)
return
;
var
gageTabItems
=
from
_gageTabItem
in
manager
.
layout
.
GageTabItems
where
_gageTabItem
.
ServiceContainerName
==
rontainerName
select
_gageTabItem
;
if
(
gageTabItems
.
Count
()
==
0
)
return
;
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment