如何使用ngrepeat,AngularJS注入空行列表-Howtoinjectemptyrowsoflistwithngrepeat,AngularJS
作者:金针菇滚滚夹着五根水葱 | 来源:互联网 | 2023-06-19 11:14
mycodeisworking,butIwaswonderingifthereisabetterwayofinjectingemptyrowsintoatabl
my code is working, but I was wondering if there is a better way of injecting empty rows into a table (just for look and feel). It seems a bit redundant, but cannot find the right example how to do it better. my code for now:
我的代码正在运行,但我想知道是否有更好的方法将空行注入表中(仅用于外观和感觉)。这看起来有点多余,但找不到合适的例子如何做得更好。我现在的代码:
{{row.name}} |
|
{{row.name}} |
|
{{row.name}} |
1 个解决方案