Commit 62f05e5f authored by 崔佳豪's avatar 崔佳豪

fix(EC_QuotaSelect): 修复指标选择器用户配置

parent 8a3d277f
...@@ -59,10 +59,14 @@ const QuotaSelect = ({ ...@@ -59,10 +59,14 @@ const QuotaSelect = ({
const fetchData = (item = {}) => { const fetchData = (item = {}) => {
// 请求指标列表 // 请求指标列表
getQuataList({ getQuataList(
accountName: item.deviceType, Object.assign(
addrSchemeID: item.pointAddressID, {
}).then((res) => { accountName: item.deviceType,
},
user ? { user } : { addrSchemeID: item.pointAddressID },
),
).then((res) => {
if (res.code === 0) { if (res.code === 0) {
const data = const data =
res.data.length > 0 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