askbot-dragon 1.3.37 → 1.3.39
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
|
@@ -137,10 +137,11 @@ export default {
|
|
|
137
137
|
}
|
|
138
138
|
return
|
|
139
139
|
} else {
|
|
140
|
-
let a = document.createElement('a')
|
|
141
|
-
a.href = res.data
|
|
142
|
-
a.download = (this.title) + fileType
|
|
143
|
-
a.dispatchEvent(new MouseEvent('click', { bubbles: true, cancelable: true, view: window }))
|
|
140
|
+
// let a = document.createElement('a')
|
|
141
|
+
// a.href = res.data
|
|
142
|
+
// a.download = (this.title) + fileType
|
|
143
|
+
// a.dispatchEvent(new MouseEvent('click', { bubbles: true, cancelable: true, view: window }))
|
|
144
|
+
window.open(res.data)
|
|
144
145
|
this.close()
|
|
145
146
|
}
|
|
146
147
|
}
|