我已经实现了这个函数来切换描述,当用户单击“查看更多”时,它将显示完整的描述。,但问题是,它同时切换它们。
这就是我在html文件中拥有的内容:
<table mat-table [dataSource]="dataSource" class="mat-elevation-z8">
<!--- Note that these columns can be defined in any order.
The actual rendered columns are set as a p