remove duplicated code

This commit is contained in:
mayswind
2023-06-14 09:12:50 +08:00
committed by GitHub
parent 01e1f65ffe
commit 83b72e7403
@@ -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;