如果我在下拉菜单中选择一个值并移至下一页,则返回同一页面,我的下拉菜单值将重置为默认值
<p-table #table [columns]="cols" [value]="values" sortMode="multiple"
[resizableColumns]="true"
[paginator]="true" [rows]="10" [scrollable]="true" scrollHeight="250px">
<ng-template pTemplate="body" let-rowData>
<tr>
<td>{{rowData.name}}</td>
<td>
<p-dropdown [options]="option123" [style]="{'width':'100%'}" (onChange)=skill(rowData.id,$event.value)></p-dropdown>
</td>
</tr>
</ng-template>
</p-table>