remove duplicated code
This commit is contained in:
@@ -80,8 +80,6 @@ export default {
|
||||
if (isArray(this.items)) {
|
||||
count = this.items.length;
|
||||
} else {
|
||||
let count = 0;
|
||||
|
||||
for (let field in this.items) {
|
||||
if (!Object.prototype.hasOwnProperty.call(this.items, field)) {
|
||||
continue;
|
||||
|
||||
Reference in New Issue
Block a user