Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
V
VIZ.Package
Overview
Overview
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
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
刘龙飞
VIZ.Package
Commits
417dbd07
Commit
417dbd07
authored
Apr 04, 2023
by
liulongfei
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
设置面板 和 数据模板只加载对应界面的设置
parent
1a3d9a7a
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
2 deletions
+3
-2
VIZ.Package.Module/Plugin/ViewModel/PluginViewModel.cs
+1
-1
VIZ.Package.Module/Setting/Core/ViewModel/SettingWindowModel.cs
+2
-1
No files found.
VIZ.Package.Module/Plugin/ViewModel/PluginViewModel.cs
View file @
417dbd07
...
...
@@ -180,7 +180,7 @@ namespace VIZ.Package.Module
return
;
}
PluginInfo
plugin
=
ApplicationDomainEx
.
PluginInfos
.
FirstOrDefault
(
p
=>
p
.
ID
==
page
.
PluginID
);
PluginInfo
plugin
=
ApplicationDomainEx
.
PluginInfos
.
FirstOrDefault
(
p
=>
p
.
ID
==
page
.
PluginID
&&
p
.
Group
==
ApplicationDomainEx
.
VizConfig
.
PluginGroup
);
if
(
plugin
==
null
)
{
this
.
SelectedValue
=
null
;
...
...
VIZ.Package.Module/Setting/Core/ViewModel/SettingWindowModel.cs
View file @
417dbd07
...
...
@@ -105,7 +105,8 @@ namespace VIZ.Package.Module
this
.
IsAlreadyLoaded
=
true
;
var
settings
=
ApplicationDomainEx
.
PluginInfos
.
Where
(
p
=>
p
.
PluginType
==
PluginType
.
Setting
&&
!
string
.
IsNullOrWhiteSpace
(
p
.
Group
));
!
string
.
IsNullOrWhiteSpace
(
p
.
Group
)
&&
(
p
.
Group
==
ApplicationConstants
.
APPLICATION_GROUP_NAME
||
p
.
Group
==
ApplicationDomainEx
.
VizConfig
.
PluginGroup
));
foreach
(
var
item
in
settings
)
{
...
...
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