jianghuyihei commited on
Commit
5819f9e
·
1 Parent(s): bfd73ac
Files changed (1) hide show
  1. app.py +1 -1
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", "{new_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
  """