fix: remote source for web

This commit is contained in:
buqiyuan 2022-06-28 11:54:59 +08:00
parent 31e7937cc8
commit 4414f49a7d

View File

@ -1,7 +1,7 @@
<nz-layout class="layout">
<nz-sider nzTheme="light" nzWidth="250">
<!-- <div class="side-container"> -->
<nz-content>
<nz-content class="api-tabs">
<nz-tabset nzCentered [nzAnimated]="false" [(nzSelectedIndex)]="tabsIndex">
<nz-tab [nzTitle]="apiTitle">
<ng-template #apiTitle>
@ -39,14 +39,8 @@
<div class="tabs-bar f_row">
<eo-api-tab class="fg1"></eo-api-tab>
<div class="flex items-center">
<nz-select
[(ngModel)]="envUuid"
[(nzOpen)]="isOpen"
(nzOpenChange)="handleEnvSelectStatus($event)"
[nzDropdownRender]="renderTemplate"
nzAllowClear
nzPlaceHolder="Environment"
>
<nz-select [(ngModel)]="envUuid" [(nzOpen)]="isOpen" (nzOpenChange)="handleEnvSelectStatus($event)"
[nzDropdownRender]="renderTemplate" nzAllowClear nzPlaceHolder="Environment">
<nz-option *ngFor="let item of envList" [nzValue]="item.uuid" [nzLabel]="item.name"></nz-option>
</nz-select>
<ng-template #renderTemplate>
@ -58,14 +52,8 @@
<div class="content_container {{ this.id ? 'has_tab_page' : '' }}">
<nz-tabset class="inside_page_tab" [nzAnimated]="false" *ngIf="this.id" nzLinkRouter>
<nz-tab *ngFor="let tab of TABS">
<a
*nzTabLink
nz-tab-link
(click)="clickContentMenu(tab)"
[routerLink]="[tab.routerLink]"
queryParamsHandling="merge"
>{{ tab.title }}</a
>
<a *nzTabLink nz-tab-link (click)="clickContentMenu(tab)" [routerLink]="[tab.routerLink]"
queryParamsHandling="merge">{{ tab.title }}</a>
</nz-tab>
</nz-tabset>
<router-outlet></router-outlet>