删除属性面板的console.log

This commit is contained in:
Yuan 2023-07-03 17:00:13 +08:00
parent 7e4eaed0cf
commit a03cbbd370

View File

@ -58,19 +58,15 @@ const canvas = reactive({
}); });
onMounted(() => { onMounted(() => {
console.log('画布属性表单mounted');
const jc = drawStore.getJlCanvas(); const jc = drawStore.getJlCanvas();
canvas.width = jc.properties.width; canvas.width = jc.properties.width;
canvas.height = jc.properties.height; canvas.height = jc.properties.height;
canvas.backgroundColor = jc.properties.backgroundColor; canvas.backgroundColor = jc.properties.backgroundColor;
}); });
onUnmounted(() => { onUnmounted(() => {});
console.log('画布属性表单unmounted');
});
function onUpdate() { function onUpdate() {
console.log('画布属性更新');
const app = drawStore.getDrawApp(); const app = drawStore.getDrawApp();
app.updateCanvasAndRecord({ app.updateCanvasAndRecord({
...canvas, ...canvas,