mirror of
https://github.com/PanJiaChen/vue-element-admin.git
synced 2025-08-07 18:25:45 +08:00
Fixed tab number for new window definition (#949)
This commit is contained in:
parent
166fc17efa
commit
6071dbec8b
@ -113,11 +113,9 @@ export default defineComponent({
|
||||
* @param {object} tabHTML DOM HTML the tab clicked
|
||||
*/
|
||||
const handleClick = (tabHTML) => {
|
||||
if (tabUuid.value !== tabHTML.$attrs.tabuuid) {
|
||||
tabUuid.value = tabHTML.$attrs.tabuuid
|
||||
setCurrentTab()
|
||||
setTabNumber(tabHTML.$attrs.key)
|
||||
}
|
||||
tabUuid.value = tabHTML.$attrs.tabuuid
|
||||
setCurrentTab()
|
||||
setTabNumber(tabHTML.index)
|
||||
}
|
||||
|
||||
// watch router query tab parent value
|
||||
|
Loading…
x
Reference in New Issue
Block a user