askbot-dragon 1.6.69 → 1.6.70

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.6.69",
3
+ "version": "1.6.70",
4
4
  "scripts": {
5
5
  "serve": "vue-cli-service serve",
6
6
  "build": "vue-cli-service build",
@@ -255,7 +255,7 @@ export default {
255
255
  position: relative;
256
256
  }
257
257
  /deep/img{
258
- max-width: 100%;
258
+ max-width: 200px;
259
259
  }
260
260
  }
261
261
  </style>
@@ -141,7 +141,7 @@ export default {
141
141
  }
142
142
  this.fileType = res.data.data.fileType
143
143
  // 判断是否为 HTTP 链接,但排除包含 aliyuncs 的OSS链接
144
- if (!this.isLining && ((this.previewOssPath.startsWith('http://') || this.previewOssPath.startsWith('https://')) && !this.previewOssPath.includes('aliyuncs'))) {
144
+ if (this.html_result && !this.isLining && ((this.previewOssPath.startsWith('http://') || this.previewOssPath.startsWith('https://')) && !this.previewOssPath.includes('aliyuncs'))) {
145
145
  this.fileType = 'URL';
146
146
  this.getUrlContent(this.html_result)
147
147
  }