mirror of
https://github.com/mayswind/ezbookkeeping.git
synced 2026-05-20 01:34:24 +08:00
fix clientSessionId not regenerated when use duplicate in desktop version
This commit is contained in:
@@ -888,6 +888,7 @@ function duplicate(withTime?: boolean, withGeoLocation?: boolean): void {
|
|||||||
|
|
||||||
editId.value = null;
|
editId.value = null;
|
||||||
duplicateFromId.value = transaction.value.id;
|
duplicateFromId.value = transaction.value.id;
|
||||||
|
clientSessionId.value = generateRandomUUID();
|
||||||
activeTab.value = 'basicInfo';
|
activeTab.value = 'basicInfo';
|
||||||
transaction.value.id = '';
|
transaction.value.id = '';
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user