askbot-dragon 1.2.1 → 1.2.2

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.2",
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",
@@ -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() {