Compare commits

..

No commits in common. "960ab581c31858bf62fb543dd8f14c737a8d7002" and "ae839825d460b1c33b12507665a2a6e47a1e8af3" have entirely different histories.

1 changed files with 3 additions and 7 deletions

View File

@ -507,11 +507,6 @@ const backToCenter = () => {
app.scrollToCenter()
}
const cancelActiveElement = () =>{
app.cancelActiveElement()
}
//
const showFit = () => {
let elementList = app.elements.elementList
@ -705,6 +700,8 @@ const getCanvasBlob = async () =>{
})
}
watch(() => props.data, (newVal) => {
if (newVal) {
setCanvasData(newVal)
@ -794,8 +791,7 @@ defineExpose({
getCanvasJson,
getCanvasBase64,
setCanvasData,
getCanvasBlob,
cancelActiveElement
getCanvasBlob
})
</script>