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