提交 ad9226e2 编写于 作者: S shenjizhe

1

上级 21b876ab
......@@ -8,7 +8,7 @@
:key="table.key"
:entityName="table.entityName"
:title="table.title"
:columns="columns"
:columns="table.columns"
:style="{ order: index }"
@start="onStart"
@end="onEnd"
......@@ -16,7 +16,7 @@
/>
</movable-area>
<movable-area ref="toolBar" class="tool-bar">
<thirdlucky-uml-entity ref="entityTool" :x="offsetX" :y="offsetY" entityName="entity" title="实体" @start="onStartTool" @end="onEndTool" @change="onChange" />
<thirdlucky-uml-entity ref="entityTool" :x="offsetX" :y="offsetY" entityName="entity" title="实体" @start="onStartTool" @end="onEndTool" />
</movable-area>
<view ref="propertyBar" class="property-bar"><thirdlucky-data-form :formData="datas" :columns="columns" @confirm="onConfirm"></thirdlucky-data-form></view>
</view>
......@@ -88,6 +88,7 @@ export default {
};
},
methods: {
onchange() {},
onConfirm(action, data) {},
resetTool() {
console.log('1.reset');
......@@ -108,6 +109,7 @@ export default {
},
onEndTool(key, event, x, y) {
console.log(key + ':' + event + ':' + x + ':' + y);
console.log('===========');
this.addEntity(x, y);
},
addEntity(x, y) {
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册