deepsea 11 months ago
parent
commit
fb3b403041
1 changed files with 4 additions and 4 deletions
  1. 4 4
      src/uwb-sample.js

+ 4 - 4
src/uwb-sample.js

@@ -156,11 +156,11 @@ function getsqlData(sdkInstance, uwbInstance) {
                   texture = textureRunning;
                   break;
                 case "offline":
-                  texture = textOffline;
+                  texture = textureOffline;
                   break;
               }
             } else {
-              texture = textOffline;
+              texture = textureOffline;
             }
             
 
@@ -296,11 +296,11 @@ function getsqlData(sdkInstance, uwbInstance) {
                   texture = textureRunning;
                   break;
                 case "offline":
-                  texture = textOffline;
+                  texture = textureOffline;
                   break;
               }
             } else {
-              texture = textOffline;
+              texture = textureOffline;
             }
 
             // 创建精灵对象