瀏覽代碼

修复bug

xushiting 2 年之前
父節點
當前提交
294efbb5f0
共有 2 個文件被更改,包括 2 次插入2 次删除
  1. 1 1
      server/test/a0k4xu045_202305311600080410/attach/sceneStore
  2. 1 1
      src/graphic/Load.js

File diff suppressed because it is too large
+ 1 - 1
server/test/a0k4xu045_202305311600080410/attach/sceneStore


+ 1 - 1
src/graphic/Load.js

@@ -427,7 +427,7 @@ export default class Load {
               this.getXY(width, height, data3d.measures[i].pos[1]),
               VectorCategory.Line.MeasureLine
             );
-            if (data3d.measures[i].dis) {
+            if (line && data3d.measures[i].dis) {
               line.value = data3d.measures[i].dis;
             }
           }