springboot怎么把数据传给前端:springboot 如何引入前端 bootstrap?
这种问题网上一搜一大堆,你可以具体找一篇文章试试,遇到问题可以针对相关问题去提问。springboot通过jar包方式引入bootstrap_个人文章 - SegmentFault 思否 这不是查查就
顺晟科技
2022-10-19 13:29:46
73
表元素突然消失。怎么解决这个?我分享了在modal-body
中添加表单之前和之后的UI图像HTML代码
<div class="jumbotron">
<h3 class='text-center' > Pending Entries </h3>
</div>
<table class="table">
<thead>
<tr>
<!-- <th scope="col">#id</th> -->
<th scope="col">Pincode</th>
<th scope="col">MajorDS A</th>
<th scope="col">MinorDS A</th>
<th scope="col">MajorDS B</th>
<th scope="col">MinorDS B</th>
<th scope="col">Action</th>
</tr>
</thead>
<tbody>
<tr *ngFor="let entry of collection">
<!-- <td>{{entry.id}}</td> -->
<td>{{entry.pincode}}</td>
<td>{{entry.majorDamageInSubdivision_A}}</td>
<td>{{entry.minorDamageInSubdivision_A}}</td>
<td>{{entry.majorDamageInSubdivision_B}}</td>
<td>{{entry.minorDamageInSubdivision_B}}</td>
<td><i href="#modal-1" type = "button" class="fa fa-edit" data-toggle="modal" data-target="#exampleModalScrollable" style="font-size:30px;color:rgb(25, 0, 255)"> </i>
<!-- Update Modal -->
<div class="modal fade" id="exampleModalScrollable" tabindex="-1" role="dialog" aria-labelledby="exampleModalScrollableTitle" aria-hidden="true">
<div class="modal-dialog modal-dialog-scrollable" role="document">
<div class="modal-content">
<div class="modal-header">
<h5 class="modal-title" id="exampleModalScrollableTitle">Edit & Update Entry</h5>
<button type="button" class="close" data-dismiss="modal" aria-label="Close">
<span aria-hidden="true">×</span>
</button>
</div>
<div class="modal-body">
<form>
<div class="form-group">
<label >Pincode</label>
<input type="text" class="form-control" placeholder="Enter Pincode" formControlName="pincode">
<br>
<label>Major Damage Score in Subdivision A</label>
<input type="text" class="form-control" formControlName="majorDamageInSubdivision_A">
<br>
<label>Minor Damage Score in Subdivision A</label>
<input type="text" class="form-control" formControlName="minorDamageInSubdivision_A">
<br>
<label>Major Damage Score in Subdivision B</label>
<input type="text" class="form-control" formControlName="majorDamageInSubdivision_B">
<br>
<label>Minor Damage Score in Subdivision B</label>
<input type="text" class="form-control" formControlName="minorDamageInSubdivision_B">
<br>
</div>
</form>
</div>
<div class="modal-footer">
<button type="button" class="btn btn-secondary" data-dismiss="modal">Close</button>
<button type="button" class="btn btn-primary">Save changes</button>
</div>
</div>
</div>
</div>
<i type="button" class="fa fa-trash" data-toggle="modal" data-target="#exampleModalScrollable" style="font-size:30px;color:red"></i></td>
</tr>
</tbody>
</table>
我以为是因为表单的长度,但当我输入1000字的长段落时,所有的表元素都完好无损。
顺晟科技:
05
2022-12
02
2022-12
02
2022-12
29
2022-11
29
2022-11
24
2022-11