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