Bladeren bron

add class flag

gaoshuaixing 3 jaren geleden
bovenliggende
commit
ca4053de79
3 gewijzigde bestanden met toevoegingen van 3 en 0 verwijderingen
  1. 1 0
      electron/controller/example.js
  2. 1 0
      electron/service/example.js
  3. 1 0
      electron/service/storage.js

+ 1 - 0
electron/controller/example.js

@@ -630,4 +630,5 @@ class ExampleController extends Controller {
   }   
 }
 
+ExampleController.toString = () => '[class ExampleController]';
 module.exports = ExampleController;

+ 1 - 0
electron/service/example.js

@@ -25,4 +25,5 @@ class ExampleService extends Service {
   }
 }
 
+ExampleService.toString = () => '[class ExampleService]';
 module.exports = ExampleService;

+ 1 - 0
electron/service/storage.js

@@ -228,4 +228,5 @@ class StorageService extends Service {
   }  
 }
 
+StorageService.toString = () => '[class StorageService]';
 module.exports = StorageService;