askbot-dragon 88.1.1 → 88.1.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "askbot-dragon",
3
- "version": "88.1.1",
3
+ "version": "88.1.2",
4
4
  "scripts": {
5
5
  "serve": "vue-cli-service serve",
6
6
  "build": "vue-cli-service build",
@@ -163,9 +163,17 @@ export default {
163
163
  newDom.forEach(doms => {
164
164
  doms.style.backgroundColor = this.colors[0];
165
165
  })
166
- newDom[0].scrollIntoView({ behavior: "smooth"})
166
+ const bodyWrapper = this.$refs.table.$el.querySelector('.el-table__body-wrapper');
167
+ const targetRow = this.$refs.table.$el.querySelector('.setBgClass' + rowId); // 获取目标行元素
168
+ const targetHeight = targetRow.offsetTop; // 目标行的高度(从上到下的距离)
169
+ bodyWrapper.scroll({
170
+ top:targetHeight,
171
+ behavior:"smooth"
172
+ }); // 滚动到目标行位置
173
+
174
+ // newDom[0].scrollIntoView({ behavior: "smooth"})
167
175
  }
168
- },500)
176
+ },800)
169
177
  });
170
178
  },
171
179
  handleCurrentChange(val){
@@ -562,6 +562,9 @@ export default {
562
562
  }
563
563
  }
564
564
  } else {
565
+ if (this.newFileType == 'PPT'){
566
+ this.pageChunkData = res.data.data.map(item => { return item.page }).filter(item =>{ return !!item })
567
+ }
565
568
  this.newVersion = false;
566
569
  }
567
570
  }