Browse Source

refactor: 修正不规范的写法

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

11
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: [
{ {
el: {
type: Layout, type: Layout,
cls: 'data-connection-background', cls: 'data-connection-background',
width: 260, },
height: 130, height: 130,
}, },
{ {

Loading…
Cancel
Save