样式更改
parent
a4dab3d927
commit
2c86f4f6bb
|
@ -68,7 +68,7 @@
|
|||
|
||||
<script>
|
||||
export default {
|
||||
data() {
|
||||
data () {
|
||||
return {
|
||||
menuList: [
|
||||
'Home',
|
||||
|
@ -88,12 +88,12 @@ export default {
|
|||
}
|
||||
},
|
||||
watch: {
|
||||
$route(v) {
|
||||
$route (v) {
|
||||
this.changeTab()
|
||||
}
|
||||
},
|
||||
methods: {
|
||||
changeTab() {
|
||||
changeTab () {
|
||||
if (this.menuList.findIndex((v) => v === this.$route.name) === -1) {
|
||||
if (this.$route.name === 'Center Imaging Services') {
|
||||
this.active = '1'
|
||||
|
@ -105,7 +105,7 @@ export default {
|
|||
this.active = this.menuList.findIndex((v) => v === this.$route.name)
|
||||
}
|
||||
},
|
||||
selectTab(v, title) {
|
||||
selectTab (v, title) {
|
||||
console.log('selectTab')
|
||||
if (v === '5') {
|
||||
window.open('https://irc.extimaging.com')
|
||||
|
@ -129,7 +129,7 @@ export default {
|
|||
}
|
||||
}
|
||||
},
|
||||
mounted() {
|
||||
mounted () {
|
||||
if (this.menuList.findIndex((v) => v === this.$route.name) === -1) {
|
||||
if (this.$route.name === 'Center Imaging Services') {
|
||||
this.active = '1'
|
||||
|
@ -158,7 +158,7 @@ export default {
|
|||
<style lang="scss" scoped>
|
||||
.layout {
|
||||
overflow: auto;
|
||||
user-select: none;
|
||||
// user-select: none;
|
||||
|
||||
.header {
|
||||
background: #fff;
|
||||
|
@ -340,7 +340,6 @@ export default {
|
|||
}
|
||||
}
|
||||
|
||||
|
||||
}
|
||||
}
|
||||
</style>
|
||||
|
|
Loading…
Reference in New Issue