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
|
@@ -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.
|
|
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
|
}
|