Spaces:
Running
Running
jianghuyihei
commited on
Commit
·
5819f9e
1
Parent(s):
bfd73ac
fix
Browse files
app.py
CHANGED
@@ -394,7 +394,7 @@ def form_post(request: Request,response: Response,topic: str = Form(...)):
|
|
394 |
// 在页面加载时更新 sessionStorage
|
395 |
window.onload = function() {{
|
396 |
sessionStorage.setItem("user_id", "{user_id}");
|
397 |
-
sessionStorage.setItem("state", "{
|
398 |
}};
|
399 |
</script>
|
400 |
"""
|
|
|
394 |
// 在页面加载时更新 sessionStorage
|
395 |
window.onload = function() {{
|
396 |
sessionStorage.setItem("user_id", "{user_id}");
|
397 |
+
sessionStorage.setItem("state", "{state}");
|
398 |
}};
|
399 |
</script>
|
400 |
"""
|