浏览代码

add class flag

gaoshuaixing 3 年之前
父节点
当前提交
ca4053de79
共有 3 个文件被更改,包括 3 次插入0 次删除
  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;
 module.exports = ExampleController;

+ 1 - 0
electron/service/example.js

@@ -25,4 +25,5 @@ class ExampleService extends Service {
   }
   }
 }
 }
 
 
+ExampleService.toString = () => '[class ExampleService]';
 module.exports = 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;
 module.exports = StorageService;