|
@@ -82,12 +82,21 @@ export default {
|
|
|
if (value) {
|
|
if (value) {
|
|
|
document.body.classList.add('nut-overflow-hidden');
|
|
document.body.classList.add('nut-overflow-hidden');
|
|
|
} else {
|
|
} else {
|
|
|
- document.body.classList.remove('nut-overflow-hidden');
|
|
|
|
|
|
|
+ this.remolveLockScrool();
|
|
|
}
|
|
}
|
|
|
}
|
|
}
|
|
|
}
|
|
}
|
|
|
},
|
|
},
|
|
|
|
|
+ deactivated() {
|
|
|
|
|
+ this.remolveLockScroll();
|
|
|
|
|
+ },
|
|
|
|
|
+ destroyed(){
|
|
|
|
|
+ this.remolveLockScroll();
|
|
|
|
|
+ },
|
|
|
methods: {
|
|
methods: {
|
|
|
|
|
+ remolveLockScroll(){
|
|
|
|
|
+ document.body.classList.remove('nut-overflow-hidden');
|
|
|
|
|
+ },
|
|
|
isHighlight(item) {
|
|
isHighlight(item) {
|
|
|
return (this.chooseTagValue && this.chooseTagValue == item[this.optionTag]) || this.chooseTagValue === 0;
|
|
return (this.chooseTagValue && this.chooseTagValue == item[this.optionTag]) || this.chooseTagValue === 0;
|
|
|
},
|
|
},
|