Browse Source

refactor: 修正不规范的写法

qufenxi
alan 6 years ago
parent
commit
d818088216
  1. 15
      src/app/connection/right/nothing.ts

15
src/app/connection/right/nothing.ts

@ -1,17 +1,20 @@
import {WidgetType, CenterAdapt, Vertical, Layout, Label} from '@ui/index'; import {WidgetType, Layout, Label, HorizotalAdapt, Vtape} from '@ui/index';
const className = 'dec.dcm.component.right.nothing'; const className = 'dec.dcm.component.right.nothing';
const Widget: WidgetType = { const Widget: WidgetType = {
render() { render() {
return { return {
type: CenterAdapt, type: HorizotalAdapt,
top: 200, top: 200,
items: [{ items: [{
type: Vertical, type: Vtape,
width: 260,
height: 150,
items: [ items: [
{ {
type: Layout, el: {
cls: 'data-connection-background', type: Layout,
width: 260, cls: 'data-connection-background',
},
height: 130, height: 130,
}, },
{ {

Loading…
Cancel
Save