|
|
@ -1,4 +1,4 @@ |
|
|
|
import { nextTick, shortcut, Widget, isNotNull, each } from '@/core'; |
|
|
|
import {nextTick, shortcut, Widget, isNotNull, each, any, isEqual} from '@/core'; |
|
|
|
import { Tab } from '@/base'; |
|
|
|
import { Tab } from '@/base'; |
|
|
|
import { Router } from './0.router'; |
|
|
|
import { Router } from './0.router'; |
|
|
|
import { Fix } from '../fix'; |
|
|
|
import { Fix } from '../fix'; |
|
|
@ -3134,6 +3134,14 @@ export class RouterView extends Widget { |
|
|
|
}; |
|
|
|
}; |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
removeTab(path) { |
|
|
|
|
|
|
|
this.tab.removeTab(path); |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
setSelect(path) { |
|
|
|
|
|
|
|
this.tab.setSelect(path); |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
destroyed() { |
|
|
|
destroyed() { |
|
|
|
// BI.remove方法会把第二个参数当迭代器执行导致方法多执行一遍
|
|
|
|
// BI.remove方法会把第二个参数当迭代器执行导致方法多执行一遍
|
|
|
|
cbs.splice(cbs.indexOf(this._callbackListener), 1); |
|
|
|
cbs.splice(cbs.indexOf(this._callbackListener), 1); |
|
|
|