import { connectStore, customElement, GemElement, html } from '@mantou/gem'; import { bridgeStore, updatePath } from '../store'; import { theme } from '../../../'; @connectStore(bridgeStore) @customElement('bridge-navigation') export class BridgenNvigationElement extends GemElement { #clickHandle = (index: number) => { updatePath(bridgeStore.path.slice(0, index + 1)); }; render() { const path = bridgeStore.path; return html`