# Changelog
# 1.2.11 (opens new window) (2021-12-20)
# Bug Fixes
- routerPage: Fix that when
this.$vnode.data.key
does not exist, the tab information cannot be updated (4aa2e96 (opens new window)), closes #138 (opens new window)
# 1.2.10 (opens new window) (2021-12-17)
# Bug Fixes
- pageLeave: Fixed the error of page instance does not exist (2a6265d (opens new window))
# 1.2.9 (opens new window) (2021-12-09)
# Bug Fixes
- routerpage: assign metadata change to correct tab (closes #135 (opens new window)) (ff017a4 (opens new window))
- TabItem: Fixed Vue Router
tag prop is deprecated
warning (d969248 (opens new window)), closes #134 (opens new window)
# 1.2.8 (opens new window) (2021-11-05)
# Bug Fixes
- TabScroll: Fix
TypeError: Cannot read properties of undefined (reading 'clientWidth')
(9cf924c (opens new window)), closes #131 (opens new window)
# 1.2.7 (opens new window) (2021-06-03)
# Bug Fixes
- RouterAlive: Solve the problem of failing to remove the cache due to the Vue v2.6.13 version of KeepAlive streamlining the data of the cache component (93f8418 (opens new window)), closes #121 (opens new window)
# 1.2.6 (opens new window) (2021-05-09)
# Bug Fixes
- DragSort: Fixed the drag and drop sorting failure in dual-core browser compatibility mode (78ecec3 (opens new window))
- PageLeave: Support leave reminder when the tab is not cached (1d70e03 (opens new window)), closes #116 (opens new window)
- vetur: Provide component syntax hints for Vetur extension (c78a5b6 (opens new window))
# Features
- pageScroller: Keep scroll position after tab switching (958a85d (opens new window)), closes #108 (opens new window)
- TabItem: Click the middle mouse button to close the tab (ef673b5 (opens new window)), closes #118 (opens new window)
# 1.2.5 (opens new window) (2021-03-26)
# Bug Fixes
- DragSort: Fixed that a new tab will be opened after dragging and sorting the router tab in the Firefox browser (b5134cb (opens new window))
# 1.2.4 (opens new window) (2021-01-23)
# Bug Fixes
- routerAlive: Fix that the hot reload does not take effect after the dom node of the page component is modified (85912a9 (opens new window))
# 1.2.3 (opens new window) (2021-01-09)
# Bug Fixes
- Use jsx to generate TabItem template to solve Vue 2.5.22 version TabItem error (48c6065 (opens new window))
- scroll: Fix that the tab cannot be scrolled on some mobile devices (06b12a2 (opens new window))
# Features
- lang: Automatically recognize component language according to browser language (67a3c26 (opens new window))
# 1.2.2 (opens new window) (2020-11-28)
# Bug Fixes
- iframe: Fix the vulnerability of Base64 XSS attack (665b897 (opens new window))
- scroll: Fix the error caused by not getting the current tab when scrolling and adjusting the tab (61e3a95 (opens new window))
# 1.2.1 (opens new window) (2020-10-17)
# Bug Fixes
- iframe: Fix the problem of iframe tab loading failure due to undecoded url in vue-router 3.4.6 params (9ff5d16 (opens new window))
- RouteMatch: Fix an error when matching the root path
basePath
of external routing (f6073d3 (opens new window))
# 1.2.0 (opens new window) (2020-08-22)
# Bug Fixes
- contextmenu: Contextmenu Optimize (0088b63 (opens new window))
- Fixed that RouterTab does not adjust to the current tab position when the browser forward or backward in history and RouterTab restores the tab (66bf4c1 (opens new window))
- Fixed that the contextmenu does not display when the cache key is a empty string (f9448de (opens new window))
# Code Refactoring
- lang: The language configuration is changed from
language
tolang
(8866760 (opens new window))
# Features
- Nuxt supports configuring tabs from the page meta (02daa90 (opens new window))
- New configuration item:
append
, insert position of the new tab (458fc34 (opens new window)) - dragsort: Tabs drag sort (479bfcd (opens new window))
# BREAKING CHANGES
- lang: The language configuration is changed from
language
tolang
# 1.1.0 (opens new window) (2020-07-30)
# Code Refactoring
- Global
$routerTab
is changed to$tabs
(6edc214 (opens new window))
# Features
- contextmenu: Custom contextmenu support (d475ebe (opens new window))
- beforePageLeave Support browser
beforeunload
event (5d57e60 (opens new window))
# BREAKING CHANGES
- Global access to the RouterTab component
this.$routerTab
has been deprecated and changed tothis.$tabs
beforePageLeave
deprecate the parametersresolve
,reject
, return a promise to allow or prevent the tab page from leaving
# 1.0.0 (opens new window) (2020-06-28)
# Code Refactoring
Style refactoring, remove left and right tab scroll buttons (a17543a (opens new window))
iframe: Remove
openIframeTab
,closeIframeTab
,refreshIframeTab
methods (87d0d77 (opens new window))
# Features
- RouterAlive: RouterAlive component is refactored using keep-alive + router-view (ac3a04d (opens new window))
- scroll: Add tab scroll component (620d17e (opens new window))-
- slot: New Slots:
start
andend
(34d8542 (opens new window)) - tab: Mew route meta option:
closable
andtabClass
(b6c92fb (opens new window))
# Performance Improvements
- Cached nested pages are not updated, use
$forceUpdate
(a85a51e (opens new window)) - RouterAlive: Match page route depth by
$vnode.data.routerViewDepth
(c0dce87 (opens new window))
# BREAKING CHANGES
- Component node class change
- tab: Tab slot scope variable changes
- iframe: Remove
openIframeTab
,closeIframeTab
,refreshIframeTab
methods - RouterAlive:
- Simplify the close method arguments:
close(path, to)
- Deprecated options:
alive-id
、router-view
- Change meta option
aliveId
tokey
- Deprecated routing page mark
_isRouterPage
- Simplify the close method arguments:
# 0.2.9 (opens new window) (2019-11-20)
# Bug Fixes
- operate: adopt fuzzy matching when force-new opening tabs in case that subtle distinction in route path might prevent force reloading (150f112 (opens new window))
# 0.2.8 (opens new window) (2019-11-15)
# Bug Fixes
- operate: fix errors with closing tabs in a way of
close(path, to, match, force)
under IE 11, which is due to the uncompatibility of destructuring assignment (acb7e7a (opens new window))
# Code Refactoring
- instance property
activedTab
was renamed toactiveTabId
; add computed propertyactiveTab
(4aea0b1 (opens new window))
# Features
- restore: add option
restore-watch
to restore tab content onrestore
change (d040b23 (opens new window))
# BREAKING CHANGES
- instance property
activedTab
was renamed toactiveTabId
# 0.2.7 (opens new window) (2019-10-28)
# Features
- restore: reopen tabs on page reload (710ba70 (opens new window))
# 0.2.6 (opens new window) (2019-10-15)
# Bug Fixes
- iframe: prevent XSS attack through iframe (3745813 (opens new window))
# 0.2.5 (opens new window) (2019-10-12)
# Bug Fixes
- operate: fix errors with default tab jumping after tab closed (d30e302 (opens new window))
# 0.2.4 (opens new window) (2019-09-30)
# Features
- operate: add
open
method for tab operations; update parameters forclose
; update docs (3bf8c0a (opens new window))
# 0.2.3 (opens new window) (2019-09-20)
# Features
- close: you could now designate a route to jump to after tab closed (cab0d35 (opens new window))
- reset: add
reset
for restoring RouterTab to initial state (95ef4df (opens new window))
# 0.2.2 (opens new window) (2019-09-07)
# Bug Fixes
- nest: force reload when content doesn't match route path, which is caused by the nested routes cache (a21d507 (opens new window))
# 0.2.1 (opens new window) (2019-09-04)
# Features
- iframe: add events for RouterTab:
iframe-mounted
andiframe-loaded
(40387df (opens new window))
# Performance Improvements
- router-alive: clear cache and data on destroy (ab4bfd4 (opens new window))
# 0.2.0 (opens new window) (2019-07-10)
# Features
- nest: support nested routes now (cda723d (opens new window)), closes #7 (opens new window)
# 0.1.10 (opens new window) (2019-07-10)
# Bug Fixes
- style:
router-tab
now has a min-height of 300px (f4971ed (opens new window)), closes #9 (opens new window) - style: remove ElementUI classname from icons for tab scrollbar buttons (1404a7f (opens new window)), closes #12 (opens new window)
# 0.1.9 (opens new window) (2019-07-10)
# Code Refactoring
- i18n: rename property
i18n
tolanguage
(80920f0 (opens new window))
# Features
- i18n: (7fb6d50 (opens new window)), closes #6 (opens new window)
# BREAKING CHANGES
- i18n: rename property
i18n
tolanguage
# 0.1.8 (opens new window) (2019-07-10)
# Bug Fixes
- contextmenu: fix errors with transitions (d97f172 (opens new window))
# Features
- iframe: use iframes for external websites (5d8d93b (opens new window)), closes #3 (opens new window)
# 0.1.7 (opens new window) (2019-07-10)
# Bug Fixes
- contextmenu: fix errors with menu's position and tab header's height under IE 11 (cc4a521 (opens new window))
# 0.1.6 (opens new window) (2019-07-10)
# Features
- built-in
fullPath
matching rule, add corresponding docs and demos (dc6a718 (opens new window))
# 0.1.5 (opens new window) (2019-07-10)
# 0.1.4 (opens new window) (2019-07-10)
# Performance Improvements
- style: update default transitions of routerTab (b5053f0 (opens new window))
# 0.1.3 (opens new window) (2019-07-10)
# Bug Fixes
- unable to close or reload relative paths (6302203 (opens new window))
# 0.1.2 (opens new window) (2019-07-10)
# 0.1.1 (opens new window) (2019-07-10)
# Bug Fixes
- tab content results in blank on rapid switching (6b24430 (opens new window))
# Features
- add operations
close
andrefresh
on route path,closeTab
andrefreshTab
on tab id (bb86e66 (opens new window)) - i18n: (416af48 (opens new window))
- add
Router Tab
component (a2f444d (opens new window))
# Performance Improvements
- use
promise
in place ofasync/await
to cut down bundle size. (fe5870b (opens new window))