Compare commits
No commits in common. "960ab581c31858bf62fb543dd8f14c737a8d7002" and "ae839825d460b1c33b12507665a2a6e47a1e8af3" have entirely different histories.
960ab581c3
...
ae839825d4
|
@ -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>
|
||||
|
||||
|
|
Loading…
Reference in New Issue