|
|
|
@ -1,4 +1,4 @@
|
|
|
|
|
import {WidgetType, Htape, Vtape, Left, Label, VerticalAdapt} from '@ui'; |
|
|
|
|
import {WidgetType, Htape, Vtape, Label, VerticalAdapt} from '@ui'; |
|
|
|
|
import linkStatusModel from './link_status.model'; |
|
|
|
|
import LeftList from './left/left'; |
|
|
|
|
import Right from './right/right'; |
|
|
|
@ -14,12 +14,16 @@ const Widget: WidgetType = {
|
|
|
|
|
}, |
|
|
|
|
watch: { |
|
|
|
|
tab(tab: string) { |
|
|
|
|
this.setVisible(tab === TAB_LINK_POOL); |
|
|
|
|
this.linkStatus.setVisible(tab === TAB_LINK_POOL); |
|
|
|
|
}, |
|
|
|
|
}, |
|
|
|
|
render() { |
|
|
|
|
return { |
|
|
|
|
type: Htape, |
|
|
|
|
invisible: true, |
|
|
|
|
ref: _ref => { |
|
|
|
|
this.linkStatus = _ref; |
|
|
|
|
}, |
|
|
|
|
items: [{ |
|
|
|
|
el: { |
|
|
|
|
type: Vtape, |
|
|
|
|