vueless 0.0.339 → 0.0.340
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json
CHANGED
|
@@ -175,8 +175,12 @@ const DefaultTemplate = (args) => ({
|
|
|
175
175
|
itemsData() {
|
|
176
176
|
let rows = [];
|
|
177
177
|
|
|
178
|
-
|
|
179
|
-
|
|
178
|
+
if (typeof args.row === "function") {
|
|
179
|
+
for (let i = 0; i < args.numberOfRows; i++) {
|
|
180
|
+
rows.push(args.row());
|
|
181
|
+
}
|
|
182
|
+
} else {
|
|
183
|
+
rows.push(args.row);
|
|
180
184
|
}
|
|
181
185
|
|
|
182
186
|
return rows;
|