This commit is contained in:
李志鹏
2026-01-20 10:31:47 +08:00
parent cdcb18c02c
commit eb1de5abb3
4 changed files with 23 additions and 20 deletions

View File

@@ -697,6 +697,7 @@ export class LayerManager {
* 初始化图层,确保有背景层、固定图层和一个空白图层
*/
async initializeLayers() {
console.log("初始化图层",this.layers.value.length)
// 如果没有任何图层,创建背景层、固定图层和一个空白图层
if (this.layers.value.length === 0) {
// 创建背景图层