|
@@ -779,9 +779,11 @@ export default {
|
|
this.loading.drawer = false
|
|
this.loading.drawer = false
|
|
this.init()
|
|
this.init()
|
|
},
|
|
},
|
|
- drawerShow(newV) {
|
|
|
|
- this.init()
|
|
|
|
- this.uploadButton = newV
|
|
|
|
|
|
+ drawerShow(newV, oldVal) {
|
|
|
|
+ if (newV) {
|
|
|
|
+ this.init()
|
|
|
|
+ this.uploadButton = newV
|
|
|
|
+ }
|
|
}
|
|
}
|
|
},
|
|
},
|
|
created() {
|
|
created() {
|