mirror of
https://github.com/mayswind/ezbookkeeping.git
synced 2026-05-14 15:07:33 +08:00
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