|
@@ -13,10 +13,12 @@ const FunctionButton = ({
|
|
|
title,
|
|
|
action,
|
|
|
iconName,
|
|
|
+ productId,
|
|
|
}: {
|
|
|
title: string;
|
|
|
action: string;
|
|
|
iconName: string;
|
|
|
+ productId?: string;
|
|
|
}) => {
|
|
|
const handleMeasurementAction = (action: string) => {
|
|
|
console.log(`执行测量操作: ${action}`);
|
|
@@ -29,6 +31,7 @@ const FunctionButton = ({
|
|
|
icon={
|
|
|
iconName ? (
|
|
|
<Icon
|
|
|
+ productId={productId}
|
|
|
module="module-process"
|
|
|
name={iconName}
|
|
|
userId="base"
|
|
@@ -150,7 +153,8 @@ const MeasurementPanel = () => {
|
|
|
<FunctionButton
|
|
|
title="髋臼水平角"
|
|
|
action="髋臼水平角"
|
|
|
- iconName=""
|
|
|
+ iconName="btn_DAR"
|
|
|
+ productId="animal"
|
|
|
/>
|
|
|
<FunctionButton
|
|
|
title="胫骨平台夹角"
|