删除属性面板的console.log
This commit is contained in:
parent
7e4eaed0cf
commit
a03cbbd370
@ -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,
|
||||||
|
Loading…
Reference in New Issue
Block a user