askbot-dragon 1.1.14 → 1.1.15

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.1.14",
3
+ "version": "1.1.15",
4
4
  "scripts": {
5
5
  "serve": "vue-cli-service serve",
6
6
  "build": "vue-cli-service build",
@@ -154,13 +154,11 @@ export default {
154
154
  this.previewHref = res.data.data
155
155
  this.$refs.previewPdf.previewShowPopup = true;
156
156
  this.$refs.previewPdf.fileType = type
157
-
158
157
  this.$nextTick(() =>{
159
- if(item.srcContent == 'CREATED_BY_ONESELF') {
158
+ if(item.source == 'CREATED_BY_ONESELF') {
160
159
  this.$refs.previewPdf.getBolb(item)
161
160
  } else {
162
161
  this.$refs.previewPdf.loadIframe(item)
163
-
164
162
  }
165
163
  })
166
164
  }