|
|
@@ -109,6 +109,7 @@
|
|
|
const resizeContainer = (width, height) => {
|
|
|
stageConfig.value.width = width;
|
|
|
stageConfig.value.height = height;
|
|
|
+ layer.value.getNode().draw();
|
|
|
};
|
|
|
|
|
|
const defaultIconConfig = ref({
|
|
|
@@ -272,6 +273,7 @@
|
|
|
|
|
|
const clearBg = () => {
|
|
|
bgImg.src = null as any as string;
|
|
|
+ layer.value.getNode().draw();
|
|
|
};
|
|
|
|
|
|
//添加背景
|