fix: 修复detection切换时间卡死的问题

This commit is contained in:
chenjinsong
2022-06-09 16:01:47 +08:00
parent f6e10a14a0
commit 5f63e278ff
2 changed files with 11 additions and 1 deletions

View File

@@ -114,6 +114,9 @@
<span v-else-if="item.prop === 'lastExecutionTime'">
{{scope.row.lastTime ? dateFormatByAppearance(scope.row.lastTime) : '-'}}
</span>
<span v-else-if="item.prop === 'total'">
{{scope.row[item.prop] || 0}}
</span>
<span v-else>{{scope.row[item.prop] || '-'}}</span>
</template>
</el-table-column>
@@ -320,6 +323,7 @@ export default {
this.delFlag = true
this.$message({ duration: 2000, type: 'success', message: this.$t('tip.deleteSuccess') })
this.dropDownQueryChange({ tempId: props.row.id })
this.$emit('reload')
} else {
this.$message.error(response.msg)
}