askbot-dragon 1.5.54 → 1.5.55

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.5.54",
3
+ "version": "1.5.55",
4
4
  "scripts": {
5
5
  "serve": "vue-cli-service serve",
6
6
  "build": "vue-cli-service build",
@@ -143,7 +143,7 @@ export default {
143
143
  // }
144
144
  // }
145
145
  url = url + this.url
146
- if(this.sourceFileType == '.ppt' || this.sourceFileType == '.pptx') {
146
+ if(this.sourceFileType == '.ppt' || this.sourceFileType == '.pptx' || this.sourceFileType == '.pdf') {
147
147
  url += '&officePreviewType=pdf'
148
148
  }
149
149
  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>