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