|
@@ -128,6 +128,22 @@ export default {
|
|
|
}
|
|
|
}
|
|
|
},
|
|
|
+ watch: {
|
|
|
+ 'formData.jumpStatus': {
|
|
|
+ handler(val) {
|
|
|
+ if (val === 0) {
|
|
|
+ this.formData.filesPicture = []
|
|
|
+ this.formData.jumpLink = ''
|
|
|
+ } else if (val === 1) {
|
|
|
+ this.formData.jumpLink = ''
|
|
|
+ } else if (val === 2) {
|
|
|
+ this.formData.filesPicture = []
|
|
|
+ }
|
|
|
+ },
|
|
|
+ immediate: true,
|
|
|
+ deep: true
|
|
|
+ }
|
|
|
+ },
|
|
|
mounted() {
|
|
|
this.network().fetchBannerData()
|
|
|
},
|