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