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