|
@@ -1,6 +1,7 @@
|
|
|
+import { cloneDeep } from "lodash";
|
|
|
+import { BehaviorSubject } from "rxjs";
|
|
|
+import { reactive } from "vue";
|
|
|
import { HistoryController } from "./history";
|
|
|
-import {BehaviorSubject} from "rxjs";
|
|
|
-import { reactive } from "vue";
|
|
|
|
|
|
export class ValueSnap {
|
|
|
Id:string;
|
|
@@ -128,7 +129,7 @@ class RxValue {
|
|
|
out[name] = obj[name].toJson();
|
|
|
return;
|
|
|
}
|
|
|
- out[name] = obj._rxs[name].getValue().value;
|
|
|
+ out[name] = cloneDeep(obj._rxs[name].getValue().value);
|
|
|
})
|
|
|
return out;
|
|
|
}
|
|
@@ -163,4 +164,5 @@ class RxValue {
|
|
|
}
|
|
|
}
|
|
|
|
|
|
-export {RxValue};
|
|
|
+export { RxValue };
|
|
|
+
|