Commit e2f54b01 authored by 崔佳豪's avatar 崔佳豪

fix(EC_QuotaSelect): 修复指标选择器指标异常

parent 9f1a8974
......@@ -54,7 +54,7 @@ const Demo = () => {
const fetchData = () => {
getDeviceConf({
user: 'user',
user: 'admin',
showAll: true,
deviceType: '二供泵房,二供机组',
})
......
......@@ -59,14 +59,10 @@ const QuotaSelect = ({
const fetchData = (item = {}) => {
// 请求指标列表
getQuataList(
Object.assign(
{
getQuataList({
accountName: item.deviceType,
},
user ? { user } : { addrSchemeID: item.pointAddressID },
),
).then((res) => {
addrSchemeID: item.pointAddressID,
}).then((res) => {
if (res.code === 0) {
const data =
res.data.length > 0
......
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