1、问题代码

<form action="http://localhost:8020/social/webcast/meetLiving" method="post" target="_blank" style="display: none;" id='{{"sbmt" + $index}}'>
                        <input type="text" value="${jwtToken}" name="X-BMK-Auth-Token">
                        <input type="text" name="webinar_id" :value="info.webinar_id">
                        <input type="submit">
                    </form>

在本地测试的时候,我起了两个项目,用这种方式访问的时候会导致当前用户退出。

2、解决方式

<form action="http://192.168.8.22:8020/social/webcast/meetLiving" method="post" target="_blank" style="display: none;" id='{{"sbmt" + $index}}'>
                        <input type="text" value="${jwtToken}" name="X-BMK-Auth-Token">
                        <input type="text" name="webinar_id" :value="info.webinar_id">
                        <input type="submit">
                    </form>

将localhost改成ip即可,原因目前不知,我用的是abutu系统,不知道window寸步存在类似问题

相关文章:

  • 2023-03-13
  • 2021-11-20
  • 2021-05-20
  • 2022-12-23
  • 2022-01-22
  • 2021-08-08
  • 2021-12-05
  • 2022-12-23
猜你喜欢
  • 2021-11-30
  • 2022-12-23
  • 2021-06-21
  • 2021-11-02
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
相关资源
相似解决方案