Forráskód Böngészése

fix: ai导入不默认锁定

bill 2 hónapja
szülő
commit
e820241eda
1 módosított fájl, 0 hozzáadás és 2 törlés
  1. 0 2
      src/example/platform/platform-draw.ts

+ 0 - 2
src/example/platform/platform-draw.ts

@@ -226,7 +226,6 @@ const drawLayerResource = async (
       url: layerResource.thumb,
       mat: mat.m,
       width,
-      lock: import.meta.env.DEV ? false : true,
       height,
       cornerRadius: 0,
       zIndex: -1,
@@ -327,7 +326,6 @@ const drawLayerResource = async (
         name: item.name,
         createTime: createTime + layerResource.geos.length + ndx,
         url: item.url,
-        lock: import.meta.env.DEV ? false : true,
         mat: tf.m,
         cornerRadius: 0,
         ...attach,