askbot-dragon 1.2.1 → 1.2.3

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.2.1",
3
+ "version": "1.2.3",
4
4
  "scripts": {
5
5
  "serve": "vue-cli-service serve",
6
6
  "build": "vue-cli-service build",
@@ -140,7 +140,6 @@ export default {
140
140
  //预览图片
141
141
  lookAttach(url, item, event) {
142
142
  event.preventDefault();
143
- console.log('111111111',url,item,this.isAskLightning);
144
143
  if (this.isAskLightning == 1){
145
144
  window.parent.postMessage({
146
145
  data: "bot_preview",
@@ -307,6 +306,7 @@ export default {
307
306
  margin: 0 2px;
308
307
  width: 18px;
309
308
  height: 18px;
309
+ flex: none;
310
310
  }
311
311
 
312
312
  .alc-title-updateTime {
@@ -92,9 +92,9 @@ export default {
92
92
  // }
93
93
  // }
94
94
  url = url + this.url
95
- if(this.officePreviewType !== '') {
96
- url += '&officePreviewType=pdf'
97
- }
95
+ // if(this.officePreviewType !== '') {
96
+ // url += '&officePreviewType=pdf'
97
+ // }
98
98
  return url
99
99
  },
100
100
  // fileType() {
@@ -145,7 +145,7 @@ export default {
145
145
  <style lang="less" scoped>
146
146
  .preview_iframe {
147
147
  width: 100%;
148
- height: 100%;
148
+ height: calc(100% - 60px);
149
149
  box-sizing: border-box;
150
150
  }
151
151
  .preview_iframe_html{