| | |
| | | }, |
| | | computed: { |
| | | visitedViews() { |
| | | if (this.$store.state.tagsView.visitedViews.length > 10) { |
| | | // eslint-disable-next-line vue/no-side-effects-in-computed-properties |
| | | this.dialogVisible = true |
| | | } |
| | | // 暂时取消十个标签页限制提示 |
| | | // if (this.$store.state.tagsView.visitedViews.length > 10) { |
| | | // // eslint-disable-next-line vue/no-side-effects-in-computed-properties |
| | | // this.dialogVisible = true |
| | | // } |
| | | return this.$store.state.tagsView.visitedViews |
| | | }, |
| | | routes() { |
| | |
| | | } |
| | | </script> |
| | | |
| | | <style lang="scss" scoped> |
| | | <style lang="scss"> |
| | | $main_color: #42b983; |
| | | .tags-view-container { |
| | | height: 34px; |