askbot-dragon 1.5.76 → 1.5.77

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.76",
3
+ "version": "1.5.77",
4
4
  "scripts": {
5
5
  "serve": "vue-cli-service serve",
6
6
  "build": "vue-cli-service build",
Binary file
@@ -323,9 +323,10 @@ export default {
323
323
  methods: {
324
324
  getIconSrc (element) {
325
325
  if ((element.format === "txt" || element.format === "html") && element.source === "WECHAT") {
326
- return 'https://static.guoranbot.com/cdn-office-website/askbot_doc/wechat.png'
326
+ return require("../assets/image/filtType/wechat.png")
327
327
  } else {
328
- return 'https://static.guoranbot.com/cdn-office-website/askbot_doc/' + this.imageObj[element.format] + '.png'
328
+ return require("../assets/image/filtType/" + this.imageObj[element.format] + '.png')
329
+
329
330
  }
330
331
  },
331
332
  //预览图片
@@ -12,7 +12,7 @@
12
12
  <img
13
13
  height="20px"
14
14
  width="20px"
15
- src="https://static.guoranbot.com/loading.gif"
15
+ src="../assets/image/loading.gif"
16
16
  alt
17
17
  srcset
18
18
  style="margin-right: 6px"
@@ -19,7 +19,7 @@
19
19
  <span class="mmt-cell-des-detail">
20
20
  <div class="mmt-cell-avatar">
21
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
+ <img v-else src="../assets/image/default_avt_ui.png" alt srcset />
23
23
  </div>
24
24
  <div class="mmt-creator-name">{{ item.creatorName }}</div>
25
25
  <div class="mmt-border"></div>
@@ -109,7 +109,7 @@ export default {
109
109
  },
110
110
  methods: {
111
111
  fileIcon (type) {
112
- return 'https://static.guoranbot.com/cdn-office-website/askbot_doc/' + imageTypeObj[type] + '.png'
112
+ return require('../assets/image/filtType/' + imageTypeObj[type] + '.png')
113
113
  },
114
114
  clickFun (item) {
115
115
  if(this.externalPreview) {