fix: codemirror cache value didnt update when the view is not mounted

This commit is contained in:
Andrew Bastin
2021-12-31 21:30:52 +05:30
parent 9454a983da
commit da5e7fdde5

View File

@@ -281,6 +281,7 @@ export function useCodemirror(
},
})
}
cachedValue.value = newVal
})
watch(