diff --git a/rollup.config.cjs b/rollup.config.cjs index 5607116..179ac18 100644 --- a/rollup.config.cjs +++ b/rollup.config.cjs @@ -16,6 +16,8 @@ const config = { }, plugins: [ alias({ + //FIXME components中生成的导入路径不可用,待调整 + //可能这个插件不太合适 entries: [{ find: 'common', replacement: 'src/common' }], }), typescript({ diff --git a/src/packages/Section/common/Section.ts b/src/packages/Section/common/Section.ts index 0de803e..110598d 100644 --- a/src/packages/Section/common/Section.ts +++ b/src/packages/Section/common/Section.ts @@ -209,6 +209,13 @@ export class Section extends JlGraphic { } } + //TODO + /** + * * Relation处理考虑按不同区段类型分别处理或交子类处理后导出子类 + * + * + */ + buildRelation() { this.relationManage.deleteRelationOfGraphicAndOtherType(this, Section.Type); diff --git a/src/packages/Section/common/SectionDrawAssistant.ts b/src/packages/Section/common/SectionDrawAssistant.ts index 513de4e..bb0a1aa 100644 --- a/src/packages/Section/common/SectionDrawAssistant.ts +++ b/src/packages/Section/common/SectionDrawAssistant.ts @@ -510,6 +510,12 @@ export class SectionPointEditPlugin extends GraphicInteractionPlugin
{ clearWaypointsConfig.handler = () => { clearWayPoint(section, false); }; + // TODO + /** + * 区段拆分的菜单项和对话框之前写在这里,但引用了Quasar组件不是很合适,暂时先注释掉 + * Section中已有获取拆分的数据的方法,考虑将生成对应目标区段的逻辑放业务层?或这里提供生成方法供业务层调用 + */ + // splitSectionConfig.disabled = false; // splitSectionConfig.handler = () => { // Dialog.create({