#4 add Python frontend

Merged
huolongshe merged 1 commits from hls109 into master 8 months ago
  1. +1
    -1
      webapp/src/app/home/ability/ability.component.html
  2. +1
    -0
      webapp/src/app/home/model/solution.model.ts

+ 1
- 1
webapp/src/app/home/ability/ability.component.html View File

@@ -130,7 +130,7 @@
<div class="p-d-flex p-flex-wrap p-flex-column">
<div class="p-d-flex p-jc-between p-ai-center" style="font-weight: bold; font-size: 1.3rem">
API接口测试
<p-button styleClass="p-button-outlined" (onClick)="openWeb()" *ngIf="solution.hasWeb">模型应用示范</p-button>
<p-button styleClass="p-button-outlined" (onClick)="openWeb()" *ngIf="solution.hasWeb || solution.usePythonFrontend">模型应用示范</p-button>
</div>
<div class="p-mt-3 p-d-none p-d-md-inline">HTTP方法: POST</div>
<div class="p-d-none p-d-md-flex p-ai-center p-mt-3">


+ 1
- 0
webapp/src/app/home/model/solution.model.ts View File

@@ -24,6 +24,7 @@ export class Solution {
public createdDate?: Date;
public modifiedDate?: Date;
public hasWeb?: boolean;
public usePythonFrontend?: boolean;
public deployer?: string;
public deployStatus?: string;
public deployDate?: Date;


Loading…
Cancel
Save