diff --git a/src/components/data-form/DataForm.vue b/src/components/data-form/DataForm.vue index be424f6..e49d975 100644 --- a/src/components/data-form/DataForm.vue +++ b/src/components/data-form/DataForm.vue @@ -1,13 +1,16 @@ - - - - - + + + + + + setInputValue(newVal, dataFormItem)" + /> + + + setInputValue(newVal, extInput)" + /> + + + + + + + \ No newline at end of file + diff --git a/src/modules/way/WayRenderer.ts b/src/modules/way/WayRenderer.ts index a1e3fee..ac468ab 100644 --- a/src/modules/way/WayRenderer.ts +++ b/src/modules/way/WayRenderer.ts @@ -87,7 +87,7 @@ export default class WayRenderer extends BaseRenderer { const width = 1 const curve = new THREE.LineCurve3(startPosition, endPosition) - const tubeGeometry = new THREE.TubeGeometry(curve, 1, width / 2, 8, false) + const tubeGeometry = new THREE.TubeGeometry(curve, 1, width / 2, 2, false) const lineMesh = new THREE.Mesh(tubeGeometry, this.lineMaterial) group.add(lineMesh) @@ -169,4 +169,4 @@ export default class WayRenderer extends BaseRenderer { this.pointMaterial.dispose() this.lineMaterial.dispose() } -} \ No newline at end of file +} diff --git a/src/pages/DataForm01.vue b/src/pages/DataForm01.vue index 3a9e971..1160450 100644 --- a/src/pages/DataForm01.vue +++ b/src/pages/DataForm01.vue @@ -1,11 +1,423 @@ - DataForm01.vue + + + {{ JSON.stringify(dataForm1.data, null, 4) }} + + - \ No newline at end of file +/** 内容居中 */ +.content-center { + display: flex; + align-items: center; + justify-content: center; +} + diff --git a/src/runtime/EventBus.ts b/src/runtime/EventBus.ts index 87350e4..160ce28 100644 --- a/src/runtime/EventBus.ts +++ b/src/runtime/EventBus.ts @@ -6,7 +6,8 @@ export type DispatchNames = 'selectedObjectChanged' | 'catalogChanged' | 'dataLoadComplete' | 'entityDeleted' | - 'selectedObjectPropertyChanged' + 'selectedObjectPropertyChanged' | + 'multiSelectedObjectsChanged' export default { dispatch(name: DispatchNames, data?: any) { @@ -18,4 +19,4 @@ export default { off(name: DispatchNames, callback: (data?: any) => void) { instance.off(name, callback) } -} \ No newline at end of file +}
{{ JSON.stringify(dataForm1.data, null, 4) }}