点选
This commit is contained in:
@@ -144,6 +144,7 @@ const props = defineProps({
|
||||
},
|
||||
});
|
||||
|
||||
const loading = ref(false);
|
||||
// 引用和状态
|
||||
const canvasRef = ref(null);
|
||||
const canvasContainerRef = shallowRef(null);
|
||||
@@ -277,6 +278,7 @@ onMounted(async () => {
|
||||
canvasManager.canvas.activeLayerId = activeLayerId;
|
||||
canvasManager.activeLayerId = activeLayerId;
|
||||
canvasManager.canvas.activeElementId = activeElementId;
|
||||
canvasManager.canvas.loading = loading;
|
||||
|
||||
// 创建命令管理器
|
||||
commandManager = new CommandManager({
|
||||
@@ -1392,6 +1394,7 @@ defineExpose({
|
||||
/>
|
||||
<!-- 上传图片遮罩 -->
|
||||
<div v-show="isDragOver" class="dragover-tip"></div>
|
||||
<div class="loading" v-show="loading"><a-spin :delay="0.5" /></div>
|
||||
</div>
|
||||
</template>
|
||||
|
||||
@@ -1466,6 +1469,9 @@ defineExpose({
|
||||
top: 0;
|
||||
bottom: 0;
|
||||
}
|
||||
.app-container >.loading{
|
||||
position: absolute;
|
||||
}
|
||||
|
||||
.background-grid {
|
||||
--offsetX: 50%;
|
||||
|
||||
Reference in New Issue
Block a user