Skip to content

Commit

Permalink
feat: set open link in new target
Browse files Browse the repository at this point in the history
  • Loading branch information
phodal committed Apr 2, 2020
1 parent f801150 commit 0658872
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/app/features/atom-dialog/atom-dialog.component.html
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ <h2 mat-dialog-title>{{data.name}}</h2>
<div *ngIf="data.resources" class="resources">
<p>相关资源:</p>
<div *ngFor="let resource of data.resources">
<a href="{{resource.link}}">{{resource.name}}</a> &nbsp;&nbsp; {{resource.description}}
<a href="{{resource.link}}" target="_blank">{{resource.name}}</a> &nbsp;&nbsp; {{resource.description}}
</div>
</div>
</mat-dialog-content>

0 comments on commit 0658872

Please sign in to comment.