Browse Source

remove useless prints

melon.yin 2 years ago
parent
commit
b3a728be2d
4 changed files with 4 additions and 9 deletions
  1. 2 3
      lib/measure_page_test.dart
  2. 0 1
      lib/process/items/item.dart
  3. 0 3
      lib/view/player/player.dart
  4. 2 2
      web/index.html

+ 2 - 3
lib/measure_page_test.dart

@@ -18,9 +18,9 @@ class MeasureTestPage extends StatefulWidget {
 
 class _MeasureTestPageState extends State<MeasureTestPage> {
   static const C_LINEAR_TISSUE =
-      "http://192.168.6.117:9303/Flyinsono-BJ-1300984704.VCS.AP-BeiJing/151394487066498fbb8f1e34ca0c7083.VID";
+      "http://43.138.119.65:9303/Flyinsono-BJ-1300984704.VCS.AP-BeiJing/9eb581250c6845b7800f0ba00218e043.VID";
   static const C_CONVEX_TISSUE =
-      "http://192.168.6.117:9001/Flyinsono-BJ-1300984704.VCS.AP-BeiJing/default.VID";
+      "http://43.138.119.65:9303/Flyinsono-BJ-1300984704.VCS.AP-BeiJing/9f74db43fd3b4fc486edc59106ae96ae.VID";
   final controller = Get.put<IMeasureController>(MeasureController(
     "12345",
     imagesFetchFunc: (code) async {
@@ -244,7 +244,6 @@ class _MeasureLeftBoardState extends State<_MeasureLeftBoard> {
       activeIndex = index;
     });
     final name = C_SUPPORTED_ITEMS[index];
-    print(name);
     application.switchItemByName(name);
   }
 }

+ 0 - 1
lib/process/items/item.dart

@@ -123,7 +123,6 @@ abstract class MeasureItem<T extends MeasureItemFeature> extends IMeasureItem {
   @protected
   void doCalculate() {
     calculator?.calculate();
-    // print(calculator?.output?.description);
   }
 
   @protected

+ 0 - 3
lib/view/player/player.dart

@@ -45,9 +45,6 @@ class _VidPlayerState extends State<VidPlayer> {
 
   void onControllerEvent(Object sender, VidPlayerEvent e) {
     if (e is VidPlayerStatusChangeEvent) {
-      if (kDebugMode) {
-        print("StatusChange:${e.status.name}");
-      }
       if (!widget.controller.hasView) {
         setState(() {});
       }

+ 2 - 2
web/index.html

@@ -38,9 +38,9 @@
   <!-- This script installs service_worker.js to provide PWA functionality to
        application. For more information, see:
        https://developers.google.com/web/fundamentals/primers/service-workers -->
-  <!-- <script>
+  <script>
     window.env = { platform: 'Web' };
-  </script> -->
+  </script>
   <script>
     var serviceWorkerVersion = null;
     var scriptLoaded = false;