距离单位
This commit is contained in:
@ -18,6 +18,7 @@ import { setSplitDirection, syncSplitData, setActiveId } from '../../../Global/S
|
|||||||
import { setActiveViewer, closeRotateAround, closeViewFollow } from '../../../Global/global'
|
import { setActiveViewer, closeRotateAround, closeViewFollow } from '../../../Global/global'
|
||||||
|
|
||||||
class PolylineObject extends Base {
|
class PolylineObject extends Base {
|
||||||
|
#unitDataLegpObject
|
||||||
/**
|
/**
|
||||||
* @constructor
|
* @constructor
|
||||||
* @param sdk
|
* @param sdk
|
||||||
@ -253,6 +254,7 @@ class PolylineObject extends Base {
|
|||||||
this._elms.lengthUnit.forEach(item => {
|
this._elms.lengthUnit.forEach(item => {
|
||||||
item.value = v
|
item.value = v
|
||||||
})
|
})
|
||||||
|
this.#unitDataLegpObject && this.#unitDataLegpObject.legp_searchActive(v)
|
||||||
if (this.options.lengthByMeter) {
|
if (this.options.lengthByMeter) {
|
||||||
if (this.unitNum > 2) {
|
if (this.unitNum > 2) {
|
||||||
switch (v) {
|
switch (v) {
|
||||||
@ -1743,6 +1745,7 @@ class PolylineObject extends Base {
|
|||||||
'.input-select-unit',
|
'.input-select-unit',
|
||||||
1
|
1
|
||||||
)
|
)
|
||||||
|
this.#unitDataLegpObject = unitDataLegpObject
|
||||||
if (unitDataLegpObject) {
|
if (unitDataLegpObject) {
|
||||||
unitDataLegpObject.legp_search(unitData)
|
unitDataLegpObject.legp_search(unitData)
|
||||||
let unitDataLegpElm = this._DialogObject._element.content
|
let unitDataLegpElm = this._DialogObject._element.content
|
||||||
|
Reference in New Issue
Block a user