askbot-dragon 1.7.57-beta → 1.7.58-beta

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": "1.7.57-beta",
3
+ "version": "1.7.58-beta",
4
4
  "scripts": {
5
5
  "serve": "vue-cli-service serve",
6
6
  "build": "vue-cli-service build",
@@ -420,12 +420,6 @@ export default {
420
420
  } else {
421
421
  this.$refs.previewPdf.fileName = '';
422
422
  }
423
- let domId = item.knowledgeId + this.knowledgeIndex
424
- let dom = document.getElementById(domId);
425
- console.log('滚动到指定预览知识位置',dom,this.knowledgeIndex)
426
- if (dom){
427
- dom.scrollIntoView({ behavior: 'smooth' })
428
- }
429
423
  if (item.tagIds && item.tagIds.length != 0 && this.$refs.previewPdf.newFileType !== 'PPT') {
430
424
  this.$refs.previewPdf.loading = false
431
425
  return
@@ -9,25 +9,6 @@
9
9
  :modal="false" :direction="previewShowPopup ? 'btt' : 'rtl'" :size="previewShowPopup ? '90%' : '65%'"
10
10
  custom-class="pdf-preview-drawer" v-if="drawer">
11
11
  <div class="drawer-header" :class="isLiBang ? 'libang_head' : ''" v-if="!isPc">
12
- <div class="header-btn btn_position">
13
- <div class="onload_btn" v-if="isDownload" @click="downLoad">
14
- {{ $t('dragonCommon.download') }}
15
- </div>
16
- <div class="summaryBtn" :class="showSummary ? 'summaryActiveBtn' : ''" @click="summaryFun" v-if="isHasChat">
17
- <i class="iconfont guoran-tongyichicun-write-29-jiqiren"></i>
18
- <span>{{ $t('dragonCommon.smartSummary') }}</span>
19
- </div>
20
- <template v-if="isHasChat">
21
- <div class="chat" @click="previewToDialog(true)" v-if="!previewKnowledgeId">
22
- <i class="iconfont guoran-wendapingjia"></i>
23
- {{ $t('dragonCommon.chat') }}
24
- </div>
25
- <div class="chat chat_active" @click="previewToDialog(false)" v-else>
26
- <i class="iconfont guoran-wendapingjia"></i>
27
- {{ $t('dragonCommon.chat') }}
28
- </div>
29
- </template>
30
- </div>
31
12
  <div class="header_title">
32
13
  <template v-if="isDownload || isHasChat">
33
14
  <div class="top-header">