Skip to content

Commit

Permalink
fix beforeUnmount watchActive
Browse files Browse the repository at this point in the history
  • Loading branch information
lian-yue committed Jan 23, 2021
1 parent 5e2cc40 commit b5abe30
Show file tree
Hide file tree
Showing 13 changed files with 24 additions and 16 deletions.
6 changes: 4 additions & 2 deletions dist/vue-upload-component.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion dist/vue-upload-component.js.map

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions dist/vue-upload-component.min.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion dist/vue-upload-component.min.js.map

Large diffs are not rendered by default.

6 changes: 4 additions & 2 deletions dist/vue-upload-component.part.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion dist/vue-upload-component.part.js.map

Large diffs are not rendered by default.

4 changes: 3 additions & 1 deletion dist/vue-upload-component.ssr.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion dist/vue-upload-component.ssr.js.map

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion docs/dist/docs.js

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions docs/dist/docs.js.LICENSE.txt
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
/*!
* Name: vue-upload-component
* Component URI: https://github.com/lian-yue/vue-upload-component#readme
* Version: 3.0.48
* Version: 3.0.50
* Author: LianYue
* License: Apache-2.0
* Description: Vue.js file upload component, Multi-file upload, Upload directory, Drag upload, Drag the directory, Upload multiple files at the same time, html4 (IE 9), `PUT` method, Customize the filter
Expand All @@ -26,7 +26,7 @@
/*!
Name: vue-upload-component
Component URI: https://github.com/lian-yue/vue-upload-component#readme
Version: 3.0.47
Version: 3.0.49
Author: LianYue
License: Apache-2.0
Description: Vue.js file upload component, Multi-file upload, Upload directory, Drag upload, Drag the directory, Upload multiple files at the same time, html4 (IE 9), `PUT` method, Customize the filter
Expand Down
2 changes: 1 addition & 1 deletion docs/dist/docs.js.map

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "vue-upload-component",
"description": "Vue.js file upload component, Multi-file upload, Upload directory, Drag upload, Drag the directory, Upload multiple files at the same time, html4 (IE 9), `PUT` method, Customize the filter",
"version": "3.0.48",
"version": "3.0.50",
"author": "LianYue",
"scripts": {
"dev": "cross-env NODE_ENV=development webpack serve --hot",
Expand Down
2 changes: 2 additions & 0 deletions src/FileUpload.vue
Original file line number Diff line number Diff line change
Expand Up @@ -380,6 +380,8 @@ export default defineComponent({
this.active = false
// 销毁拖拽事件
this.watchDrop(false)
// 销毁不激活
this.watchActive(false)
},
computed: {
Expand Down

0 comments on commit b5abe30

Please sign in to comment.