Commit 031c0b0b authored by 崔佳豪's avatar 崔佳豪

fix: 添加服务前缀

parent 9a81636f
......@@ -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) {
......
......@@ -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('保存成功');
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment