menubutton 增加scope

This commit is contained in:
fan 2021-10-14 16:57:24 +08:00
parent e02efd15ff
commit 6979eaf778
3 changed files with 2 additions and 4 deletions

View File

@ -968,7 +968,7 @@ export default {
line-height: 18px;
}
</style>
<style lang="scss">
<style lang="scss" scoped>
#menuButton{
position: absolute;
bottom: 0;

View File

@ -1443,7 +1443,7 @@ export default {
border: 1px solid #DADADA !important;
}
</style>
<style lang="scss">
<style lang="scss" scoped>
#menuButton{
position: absolute;
bottom: 0;

View File

@ -40,7 +40,6 @@ export default {
},
watch: {
'$route.query.stationId': function (val, oldVal) {
console.log('======================');
if (this.flag) {
this.clearSubscribe(oldVal);
this.subscribe(val);
@ -71,7 +70,6 @@ export default {
},
methods: {
viewLoaded() {
// console.log('--------------------');
// this.subscribe(this.$route.query.stationId);
},
subscribe(stationCode) {