Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wisdom-components
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
ReactWeb5
wisdom-components
Commits
f231f2ea
Commit
f231f2ea
authored
Feb 09, 2023
by
李纪文
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix: 改_site取值不一致问题
parent
e134601c
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
12 additions
and
3 deletions
+12
-3
index.js
packages/extend-components/EC_ConfigurationView/src/index.js
+12
-3
No files found.
packages/extend-components/EC_ConfigurationView/src/index.js
View file @
f231f2ea
...
...
@@ -119,7 +119,10 @@ const ConfigurationView = (props) => {
?
globalConfig
.
userInfo
.
LocalSite
:
''
,
version
:
'全部'
,
_site
:
globalConfig
.
userInfo
&&
globalConfig
.
userInfo
.
site
?
globalConfig
.
userInfo
.
site
:
''
,
_site
:
globalConfig
.
userInfo
&&
globalConfig
.
userInfo
.
LocalSite
?
globalConfig
.
userInfo
.
LocalSite
:
''
,
});
if
(
drawInfo
.
code
===
0
)
{
const
data
=
drawInfo
.
data
?
(
drawInfo
.
data
.
list
?
drawInfo
.
data
.
list
:
[])
:
[];
...
...
@@ -152,7 +155,10 @@ const ConfigurationView = (props) => {
// 获取点表信息
const
pointInfo
=
await
getPointAddress
({
code
:
devices
.
join
(
','
),
_site
:
globalConfig
.
userInfo
&&
globalConfig
.
userInfo
.
site
?
globalConfig
.
userInfo
.
site
:
''
,
_site
:
globalConfig
.
userInfo
&&
globalConfig
.
userInfo
.
LocalSite
?
globalConfig
.
userInfo
.
LocalSite
:
''
,
});
editionArr
=
deepCopy
(
pointInfo
&&
pointInfo
.
data
?
pointInfo
.
data
:
[],
[]);
};
...
...
@@ -704,7 +710,10 @@ const ConfigurationView = (props) => {
dimension
:
list
.
dimension
,
siteCode
:
list
.
siteCode
,
fileName
:
list
.
deployURL
.
split
(
'
\
\'
).pop(),
_site: globalConfig.userInfo && globalConfig.userInfo.site ? globalConfig.userInfo.site : '',
_site:
globalConfig.userInfo && globalConfig.userInfo.LocalSite
? globalConfig.userInfo.LocalSite
: '',
});
if (response.code === 0) {
if (isClose) return false;
...
...
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