
    <nz-cascader
      style="width: 100%;"
      [nzLabelRender]="renderTpl"
      [nzOptions]="nzOptions"
      [(ngModel)]="values"
      (ngModelChange)="onChanges($event)"
    ></nz-cascader>

    <ng-template #renderTpl let-labels="labels" let-selectedOptions="selectedOptions">
      @for (label of labels; track label) {
        @if (!$last) {
          <span>{{ label }} /</span>
        } @else {
          <span>
            {{ label }} (
            <a href="javascript:;" (click)="handleAreaClick($event, label, selectedOptions[$index])">
              {{ selectedOptions[$index].code }}
            </a>
            )
          </span>
        }
      }
    </ng-template>
  