Commit bc3f1ed7 authored by WuFeiyang's avatar WuFeiyang

添加了还没有经过测试的config

parent 171046b8
...@@ -248,7 +248,7 @@ export default class App extends Vue { ...@@ -248,7 +248,7 @@ export default class App extends Vue {
var newWidget = new WidgetRef(); var newWidget = new WidgetRef();
newWidget.widgetComponentName = widgetName; newWidget.widgetComponentName = widgetName;
newWidget.ref = this.lastWidgetIndex.toString(); newWidget.ref = this.lastWidgetIndex.toString();
newWidget.y=this.lastWidgetIndex*4; newWidget.y=this.lastWidgetIndex*6;
newWidget.i=Number(newWidget.ref); newWidget.i=Number(newWidget.ref);
this.lastWidgetIndex++; this.lastWidgetIndex++;
this.widgetList = [...this.widgetList, newWidget]; this.widgetList = [...this.widgetList, newWidget];
......
This diff is collapsed.
...@@ -9,7 +9,7 @@ export class WidgetRef { ...@@ -9,7 +9,7 @@ export class WidgetRef {
//below is for grid layout //below is for grid layout
public x:number=0; public x:number=0;
public y:number=0; public y:number=0;
public w:number=4; public w:number=8;
public h:number=4; public h:number=6;
public i:number=0; public i:number=0;
} }
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment