diff --git a/SceneLoader.gd b/SceneLoader.gd index b9b0c0c..00c6987 100644 --- a/SceneLoader.gd +++ b/SceneLoader.gd @@ -8,7 +8,7 @@ func _ready(): # 监听JavaScript发送的场景名称 var training_name = JavaScriptBridge.eval(""" var urlParams = new URLSearchParams(window.location.search); - urlParams.get('training'); + urlParams.get('name'); """) var token = JavaScriptBridge.eval(""" var urlParams = new URLSearchParams(window.location.search);