Browse Source

style: 删除console.log

pull/1/head
aBin 4 years ago
parent
commit
5064a382e5
  1. 1
      CHANGELOG.md
  2. 3
      src/components/TimeLine/TimeLine.vue

1
CHANGELOG.md

@ -129,6 +129,7 @@
### 🚀 性能优化 ### 🚀 性能优化
范围|描述|commitId 范围|描述|commitId
--|--|-- --|--|--
- | 修改定期任务骨架屏高度 | [909a734](https://dd.tall.wiki/gitea/ccsens_fe/TALL-MUI-3/commits/909a734)
- | 插件查询及展示 | [4dba770](https://dd.tall.wiki/gitea/ccsens_fe/TALL-MUI-3/commits/4dba770) - | 插件查询及展示 | [4dba770](https://dd.tall.wiki/gitea/ccsens_fe/TALL-MUI-3/commits/4dba770)
- | 日历的更改 | [7353ac8](https://dd.tall.wiki/gitea/ccsens_fe/TALL-MUI-3/commits/7353ac8) - | 日历的更改 | [7353ac8](https://dd.tall.wiki/gitea/ccsens_fe/TALL-MUI-3/commits/7353ac8)
- | 测试接口 | [215e074](https://dd.tall.wiki/gitea/ccsens_fe/TALL-MUI-3/commits/215e074) - | 测试接口 | [215e074](https://dd.tall.wiki/gitea/ccsens_fe/TALL-MUI-3/commits/215e074)

3
src/components/TimeLine/TimeLine.vue

@ -56,12 +56,10 @@ export default {
// //
async handleScrollTop() { async handleScrollTop() {
console.log('this.topEnd: ', this.topEnd);
if (this.topEnd) return; if (this.topEnd) return;
const startTime = this.tasks[0].planStart - 0; const startTime = this.tasks[0].planStart - 0;
if (this.tasks[0].plugins && this.tasks[0].plugins.length === 0 && !this.topEnd) { if (this.tasks[0].plugins && this.tasks[0].plugins.length === 0 && !this.topEnd) {
// //
console.log('没有数据时: ');
const addTasks = [ const addTasks = [
{ {
panel: {}, panel: {},
@ -82,7 +80,6 @@ export default {
this.setUpTasks([...addTasks.concat(this.tasks)]); this.setUpTasks([...addTasks.concat(this.tasks)]);
} else { } else {
// //
console.log('有数据时: ');
const upQuery = { const upQuery = {
timeNode: startTime, timeNode: startTime,
queryType: 0, queryType: 0,

Loading…
Cancel
Save