Skip to content

Commit

Permalink
feat: v1.0.1
Browse files Browse the repository at this point in the history
  • Loading branch information
kungfuboy committed May 22, 2022
1 parent b7b6132 commit 4a747dd
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,7 @@ export class ExportApiComponent implements OnInit {
if (result.status === StorageHandleStatus.success) {
result.data.version = packageJson.version;
try {
const output = module[action](result);
const output = module[action](result.data);
this.transferTextToFile(filename, output);
callback(true);
} catch (e) {
Expand Down
Original file line number Diff line number Diff line change
@@ -1,3 +1,8 @@
<nz-radio-group [(ngModel)]="pushType">
<label *ngFor="let item of supportList" nz-radio-button [nzValue]="item.key">{{item.title}}</label>
</nz-radio-group>
<ng-contanier *ngIf="supportList.length; else empty">
<nz-radio-group [(ngModel)]="pushType">
<label *ngFor="let item of supportList" nz-radio-button [nzValue]="item.key">{{ item.title }}</label>
</nz-radio-group>
</ng-contanier>
<ng-template #empty>
<span class="text">该功能需要插件支持,请移步至插件广场下载</span>
</ng-template>
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
.text {
color: var(--TEXT_TITLE_SEC)
}

0 comments on commit 4a747dd

Please sign in to comment.