开发:修复错误的api导出

pull/1469/head
ChenX 4 years ago
parent f1b9710159
commit 1d43e3b47b

@ -10,7 +10,7 @@
"dll": "webpack --config ./config/webpack.dll.ts",
"build": "webpack --config ./config/webpack.prod.ts && ts-node ./utils/log.ts && ts-node ./utils/publish.ts",
"api-test": "webpack --config ./config/webcadapi.umd.config.ts --display-modules",
"api": "rollup --config ./config/api.rollup.config.js",
"api": "rollup --config ./config/api.rollup.config.js && ts-node ./utils/replace_api_file.ts",
"apid": "tsc --declaration --emitDeclarationOnly --declarationMap --declarationDir ./api/types --project apitsconfig.json",
"rollup_api": "rollup --config ./config/ue4_api.rollup.config.js",
"rollup_api_d": "tsc --declaration --emitDeclarationOnly --declarationMap --declarationDir ./ue4_api/types --project apitsconfig.json",

@ -117,7 +117,7 @@ export class PropertiesPanel extends React.Component<PropertiesPanelProps, {}>
:{(ents[0] as Curve).EndParam}
</li>
<li>
: {ents[0].IsClockWise ? "顺时针" : "逆时针"}
: {(ents[0] as Curve).IsClockWise ? "顺时针" : "逆时针"}
</li>
</>
}

@ -1,12 +1,11 @@
export { IsRect } from "./Common/CurveUtils";
export * from "./DatabaseServices/CADFiler";
export * from "./DatabaseServices/Entity/Arc";
export * from "./DatabaseServices/Entity/Circle";
export * from "./DatabaseServices/Entity/Line";
export * from "./DatabaseServices/Entity/Polyline";
export * from "./DatabaseServices/SplineConver2Polyline";
export * from "./GraphicsSystem/BoolOperateUtils";
export { FeedingToolPath } from "./GraphicsSystem/ToolPath/FeedingToolPath";
export * from "./Add-on/testEntity/SimplifyPolyline";
export { IsRect } from "./Common/CurveUtils";
export * from "./GraphicsSystem/ToolPath/VKnifToolPath";
export * from "./Production/Product";
export * from "./DatabaseServices/SplineConver2Polyline";

Loading…
Cancel
Save