修改从url中获取的实训名称字段名
This commit is contained in:
parent
33dee8e1a8
commit
215a43a6cd
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user