|
@@ -86,13 +86,13 @@ export const measureMenusRaw = [
|
|
|
{ key: UIType.BasePoint, text: '基准点', icon: 'point' },
|
|
|
{
|
|
|
key: UIType.NormalLocationMode,
|
|
|
- text: '自由测量',
|
|
|
+ text: '垂线定位',
|
|
|
icon: 'measure_f',
|
|
|
onClick(data) {
|
|
|
- if (graphicState.value.canAllLocationMode) {
|
|
|
+ if (graphicState.value.canNotBaseLine) {
|
|
|
uiType.change(data.key);
|
|
|
} else {
|
|
|
- Message.success({ msg: '请添加基准线及基准点后再执行此操作', time: 3000 });
|
|
|
+ Message.success({ msg: '请添加基准线后再执行此操作', time: 3000 });
|
|
|
}
|
|
|
},
|
|
|
},
|
|
@@ -121,6 +121,11 @@ export const measureMenusRaw = [
|
|
|
}
|
|
|
},
|
|
|
},
|
|
|
+ {
|
|
|
+ key: UIType.FreeMeasureLine,
|
|
|
+ text: '自由测量',
|
|
|
+ icon: 'measure'
|
|
|
+ },
|
|
|
];
|
|
|
|
|
|
export const mainMenusRaw: MenusRaw = [
|