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