askbot-dragon 1.3.39 → 1.3.41

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.3.39",
3
+ "version": "1.3.41",
4
4
  "scripts": {
5
5
  "serve": "vue-cli-service serve",
6
6
  "build": "vue-cli-service build",
@@ -141,8 +141,11 @@ export default {
141
141
  // a.href = res.data
142
142
  // a.download = (this.title) + fileType
143
143
  // a.dispatchEvent(new MouseEvent('click', { bubbles: true, cancelable: true, view: window }))
144
- window.open(res.data)
145
144
  this.close()
145
+ Toast('请稍后...');
146
+ setTimeout(() =>{
147
+ window.open(res.data,'下载', 'noopener')
148
+ }, 1000)
146
149
  }
147
150
  }
148
151
  })