fix(products):修复编辑链接查询参数格式
- 将编辑链接中的路径分隔符改为查询参数格式 - 确保索引参数正确传递到编辑页面 - 统一 URL 参数的拼接方式
This commit is contained in:
@@ -27,7 +27,7 @@
|
||||
<td>{{ $product.Name }}</td>
|
||||
<td>{{ $product.Category }}</td>
|
||||
<td class="text-end">{{ printf "$%.2f" $product.Price }}</td>
|
||||
<th class="text-center"><a href="edit.html/index{{ $index }}">Edit</a></th>
|
||||
<th class="text-center"><a href="edit.html?index={{ $index }}">Edit</a></th>
|
||||
</tr>
|
||||
{{ end }}
|
||||
</tbody>
|
||||
|
||||
Reference in New Issue
Block a user