| | |
| | | key() {
|
| | | return this.$route.path
|
| | | }
|
| | | },
|
| | | watch: {
|
| | | $route() {
|
| | | this.addIframe()
|
| | | }
|
| | | },
|
| | | mounted() {
|
| | | this.addIframe()
|
| | | },
|
| | | methods: {
|
| | | addIframe() {
|
| | | const {name} = this.$route
|
| | | if (name && this.$route.meta.link) {
|
| | | this.$store.dispatch('tagsView/addIframeView', this.$route)
|
| | | }
|
| | | }
|
| | | }
|
| | | }
|
| | | </script>
|
| | |
| | | }
|
| | | }
|
| | | </style>
|
| | |
|
| | | <style lang="scss">
|
| | | // fix css style bug in open el-dialog
|
| | | .el-popup-parent--hidden {
|
| | | .fixed-header {
|
| | | padding-right: 6px;
|
| | | }
|
| | | }
|
| | |
|
| | | ::-webkit-scrollbar {
|
| | | width: 6px;
|
| | | height: 6px;
|
| | | }
|
| | |
|
| | | ::-webkit-scrollbar-track {
|
| | | background-color: #f1f1f1;
|
| | | }
|
| | |
|
| | | ::-webkit-scrollbar-thumb {
|
| | | background-color: #c0c0c0;
|
| | | border-radius: 3px;
|
| | | }
|
| | | </style>
|