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
031c0b0b
Commit
031c0b0b
authored
Dec 20, 2022
by
崔佳豪
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix: 添加服务前缀
parent
9a81636f
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
1 addition
and
2 deletions
+1
-2
index.js
packages/extend-components/EC_QuotaSelect/src/apis/index.js
+1
-1
index.js
packages/extend-components/EC_QuotaSelect/src/index.js
+0
-1
No files found.
packages/extend-components/EC_QuotaSelect/src/apis/index.js
View file @
031c0b0b
...
...
@@ -5,7 +5,7 @@ const REQUEST_METHOD_POST = 'post';
// eslint-disable-next-line no-undef
const
baseUrl
=
typeof
DUMI_TYPE
!==
'undefined'
&&
DUMI_TYPE
===
'dumi'
?
'/api'
:
''
;
const
MonitorUrl
=
`/PandaMonitor/Monitor`
;
const
MonitorUrl
=
`
${
baseUrl
}
/PandaMonitor/Monitor`
;
// 查询设备指标
export
function
getQuataList
(
params
)
{
...
...
packages/extend-components/EC_QuotaSelect/src/index.js
View file @
031c0b0b
...
...
@@ -91,7 +91,6 @@ const QuotaSelect = ({
const
curSelectList
=
JSON
.
parse
(
JSON
.
stringify
(
selectData
));
const
curSelectKey
=
curSelectList
.
map
((
child
)
=>
child
.
key
);
params
[
pointType
]
=
curSelectKey
.
join
(
','
);
console
.
log
(
params
);
updateMonitorConf
(
params
).
then
((
response
)
=>
{
if
(
response
.
code
===
0
)
{
message
.
success
(
'保存成功'
);
...
...
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