baseUrl修正

This commit is contained in:
fan 2023-07-19 09:20:09 +08:00
parent 67f65c36bd
commit 83437255e5
2 changed files with 7 additions and 2 deletions

View File

@ -3,8 +3,8 @@ function getHost(): string {
// return '192.168.3.47:9091';
// return '192.168.3.37:9091';
// return '192.168.3.15:9091';
return '192.168.3.5:9091';
// return '192.168.3.233:9091';
// return '192.168.3.5:9091';
return '192.168.3.233:9091';
}
export function getHttpBase() {

View File

@ -126,12 +126,17 @@ export class SectionLinkOperateInteraction extends GraphicInteractionPlugin<Sect
g.eventMode = 'static';
g.cursor = 'pointer';
g.selectable = true;
g.lineGraphic.eventMode = 'static';
g.lineGraphic.cursor = 'pointer';
g.lineGraphic.selectable = true;
g.on('_rightclick', this.onContextMenu, this);
}
unbind(g: SectionLink): void {
g.selectable = false;
g.eventMode = 'none';
g.lineGraphic.eventMode = 'none';
g.lineGraphic.selectable = false;
g.off('_rightclick', this.onContextMenu, this);
}