hank hace 1 año
padre
commit
2412ced282
Se han modificado 1 ficheros con 2 adiciones y 2 borrados
  1. 2 2
      app.js

+ 2 - 2
app.js

@@ -7,8 +7,8 @@ const novelPlugin = requirePlugin('novel-plugin')
 import { userLogin,getChapterUnlockStatus,getNovelDetail,addBrowsingHistory } from './api/api'
 import { userLogin,getChapterUnlockStatus,getNovelDetail,addBrowsingHistory } from './api/api'
 
 
 App({
 App({
-  onLaunch() {
-
+  onLaunch(options) {
+    console.log('场景值:',options.scene);
     novelPlugin.setLoggerConfig({
     novelPlugin.setLoggerConfig({
       info: true,
       info: true,
       debug: true,
       debug: true,