diff --git a/src/components/config/function-config-pending.vue b/src/components/config/function-config-pending.vue index 7f480f6..dffa4c7 100644 --- a/src/components/config/function-config-pending.vue +++ b/src/components/config/function-config-pending.vue @@ -84,12 +84,13 @@ - + + + + - - @@ -275,4 +276,12 @@ function validateTimePoints(points) { } return true; } + +/** + * 移除上报时间点 + * @param {number} index 索引 + */ +function removeTimePoint(index) { + data.value.report.timePoints.splice(index, 1); +}