askbot-dragon 88.0.1 → 88.0.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.0.01",
3
+ "version": "88.0.02",
4
4
  "scripts": {
5
5
  "serve": "vue-cli-service serve",
6
6
  "build": "vue-cli-service build",
@@ -160,7 +160,7 @@ export default {
160
160
  // }
161
161
  // }
162
162
  url = url + this.url
163
- if(this.sourceFileType == '.ppt' || this.sourceFileType == '.pptx') {
163
+ if(this.sourceFileType == '.ppt' || this.sourceFileType == '.pptx' || this.sourceFileType == '.pdf') {
164
164
  url += '&officePreviewType=pdf'
165
165
  }
166
166
  return url
@@ -18,7 +18,8 @@
18
18
  <span class="mmt-cell-des-title">{{item.name}}</span>
19
19
  <span class="mmt-cell-des-detail">
20
20
  <div class="mmt-cell-avatar">
21
- <img :src="item.creatorAvatar" alt srcset />
21
+ <img v-if="item.creatorAvatar" :src="item.creatorAvatar" alt srcset />
22
+ <img v-else src="https://static.guoranbot.com/cdn-office-website/images/default_avt_ui.png" alt srcset />
22
23
  </div>
23
24
  <div class="mmt-creator-name">{{ item.creatorName }}</div>
24
25
  <div class="mmt-border"></div>