2023-04-12 03:44:26 +03:00
|
|
|
import {reactive} from 'vue';
|
|
|
|
|
2023-05-30 13:53:15 +03:00
|
|
|
let diffTreeStoreReactive;
|
|
|
|
export function diffTreeStore() {
|
|
|
|
if (!diffTreeStoreReactive) {
|
|
|
|
diffTreeStoreReactive = reactive(window.config.pageData.diffFileInfo);
|
|
|
|
window.config.pageData.diffFileInfo = diffTreeStoreReactive;
|
|
|
|
}
|
|
|
|
return diffTreeStoreReactive;
|
|
|
|
}
|