fix: 编译类型错误
This commit is contained in:
@@ -1095,7 +1095,7 @@ onBeforeUnmount(() => {
|
|||||||
:scroll="{ y: 250 }"
|
:scroll="{ y: 250 }"
|
||||||
size="small"
|
size="small"
|
||||||
:custom-row="
|
:custom-row="
|
||||||
record => ({
|
(record:any) => ({
|
||||||
onClick: () => handleRowClick(record),
|
onClick: () => handleRowClick(record),
|
||||||
class: selectedRow.includes(record.kpiId) ? 'selected-row' : '',
|
class: selectedRow.includes(record.kpiId) ? 'selected-row' : '',
|
||||||
})
|
})
|
||||||
|
|||||||
@@ -848,7 +848,7 @@ onMounted(() => {
|
|||||||
typeArr.push(item.neType);
|
typeArr.push(item.neType);
|
||||||
});
|
});
|
||||||
typeArr = Array.from(new Set(typeArr));
|
typeArr = Array.from(new Set(typeArr));
|
||||||
neInfoStore.fnNelist().then(res => {
|
neInfoStore.fnNelist().then(res => {
|
||||||
if (res.code === RESULT_CODE_SUCCESS) {
|
if (res.code === RESULT_CODE_SUCCESS) {
|
||||||
if (res.data.length > 0) {
|
if (res.data.length > 0) {
|
||||||
// 过滤不可用的网元
|
// 过滤不可用的网元
|
||||||
@@ -1109,7 +1109,7 @@ onBeforeUnmount(() => {
|
|||||||
:scroll="{ y: 250 }"
|
:scroll="{ y: 250 }"
|
||||||
size="small"
|
size="small"
|
||||||
:custom-row="
|
:custom-row="
|
||||||
record => ({
|
(record:any) => ({
|
||||||
onClick: () => handleRowClick(record),
|
onClick: () => handleRowClick(record),
|
||||||
class: selectedRow.includes(record.kpiId) ? 'selected-row' : '',
|
class: selectedRow.includes(record.kpiId) ? 'selected-row' : '',
|
||||||
})
|
})
|
||||||
|
|||||||
@@ -1327,7 +1327,7 @@ const handleTabChange = async (activeKey: string, type: AllChartType) => {
|
|||||||
:scroll="{ y: 'true' }"
|
:scroll="{ y: 'true' }"
|
||||||
:loading="chartStates[type].tableState.loading"
|
:loading="chartStates[type].tableState.loading"
|
||||||
:custom-row="
|
:custom-row="
|
||||||
record => ({
|
(record:any) => ({
|
||||||
onClick: () => handleRowClick(record, type),
|
onClick: () => handleRowClick(record, type),
|
||||||
class: selectedRows[type]?.includes(record.kpiId)
|
class: selectedRows[type]?.includes(record.kpiId)
|
||||||
? 'selected-row'
|
? 'selected-row'
|
||||||
|
|||||||
Reference in New Issue
Block a user