mirror of
https://github.com/mayswind/ezbookkeeping.git
synced 2026-05-20 17:54:30 +08:00
don't update transaction time when user don't modify it
This commit is contained in:
@@ -482,7 +482,9 @@ export default {
|
|||||||
this.transaction.time = newValue;
|
this.transaction.time = newValue;
|
||||||
}
|
}
|
||||||
|
|
||||||
this.transaction.unixTime = this.$utilities.getUnixTime(newValue);
|
if (this.$utilities.formatUnixTime(this.transaction.unixTime, 'YYYY-MM-DDTHH:mm') !== newValue) {
|
||||||
|
this.transaction.unixTime = this.$utilities.getUnixTime(newValue);
|
||||||
|
}
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
created() {
|
created() {
|
||||||
|
|||||||
Reference in New Issue
Block a user