详细问题描述
[内容]
<table id="bootstrap-table" class="table">
<tr class="warning">
<th data-field="name" class="text-center" data-sortable="true">订单号</th>
<th data-field="salary" class="text-center" data-sortable="true">名称</th>
<th data-field="country" class="text-center" data-sortable="true">单价</th>
<th data-field="country" class="text-center" data-sortable="true">数量</th>
<th data-field="city" class="text-center" data-sortable="true">总价</th>
<th data-field="city" class="text-center" data-sortable="true">时间</th>
<th data-field="city" class="text-center" data-sortable="true">状态</th>
</tr>
<tbody>
<foreach name="order_list" item="val_staffLists">
<tr align="center">
<td><{$val_staffLists.order_sn}></td>
<td><{$val_staffLists.goods_name}></td>
<td><{$val_staffLists.goods_price}></td>
<td><{$val_staffLists.goods_number}></td>
<td><{$val_staffLists.order_amount}></td>
<td><{$val_staffLists.add_time|date='Y-m-d H:i:s',###}></td>
<td><{$val_staffLists.order_status_pp}></td>
</td>
</tr>
</foreach>
</tbody>
</table>
重现步骤
[步骤]
执行 ctrl + [ 选择成对后 继续ctrl + 9 包围
[结果]
成了这样了
$val_staffLists 全给过滤掉了
<table id="bootstrap-table" class="table">
<tr class="warning">
<th data-field="name" class="text-center" data-sortable="true">订单号</th>
<th data-field="salary" class="text-center" data-sortable="true">名称</th>
<th data-field="country" class="text-center" data-sortable="true">单价</th>
<th data-field="country" class="text-center" data-sortable="true">数量</th>
<th data-field="city" class="text-center" data-sortable="true">总价</th>
<th data-field="city" class="text-center" data-sortable="true">时间</th>
<th data-field="city" class="text-center" data-sortable="true">状态</th>
</tr>
<tbody>
<foreach name="order_list" item="val_staffLists">
<tr align="center">
<td><{.order_sn}></td>
<td><{.goods_name}></td>
<td><{.goods_price}></td>
<td><{.goods_number}></td>
<td><{.order_amount}></td>
<td><{.add_time|date='Y-m-d H:i:s',###}></td>
<td><{.order_status_pp}></td>
</td>
</tr>
</foreach>
</tbody>
</table>
[期望]
运行环境
[系统版本]
[浏览器版本]
[IDE版本]
9.1.14.201808032109
[mui版本]
附件
[代码片段]
[安装包]
联系方式
[QQ] 158190625
[电话]
2 个回复
acjfsqt
<table id="bootstrap-table" class="table">
DCloud_heavensoft
改成HBuilderX吧。HBuilderX是ctrl+]加包围。
不管是快速选中还是加包围,HBuilderX都更强大好用