Skip to content

Commit

Permalink
fix: 无法选中筛选的管理
Browse files Browse the repository at this point in the history
  • Loading branch information
rehiy committed Mar 25, 2024
1 parent 6cbeb8f commit 342e884
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 0 deletions.
3 changes: 3 additions & 0 deletions webview/src/apps/profile/create.html
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,9 @@
<div class="row g-3">
<div class="col col-md-8">
<select name="wxid" class="form-select" [(ngModel)]="formdata.wxid" [disabled]="conacts.length == 0" required>
@if (conactsFilter.length > 0) {
<option>选择筛选结果</option>
}
@for (item of conacts | filter:'wxid,name':conactsFilter; track item.wxid) {
<option [value]="item.wxid">{{item.wxid}}({{item.name}})</option>
}
Expand Down
3 changes: 3 additions & 0 deletions webview/src/apps/profile/update.html
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,9 @@
<div class="row g-3">
<div class="col col-md-8">
<select name="wxid" class="form-select" [(ngModel)]="formdata.wxid" [disabled]="conacts.length == 0" required>
@if (conactsFilter.length > 0) {
<option>选择筛选结果</option>
}
@for (item of conacts | filter:'wxid,name':conactsFilter; track item.wxid) {
<option [value]="item.wxid">{{item.wxid}}({{item.name}})</option>
}
Expand Down

0 comments on commit 342e884

Please sign in to comment.