[問題] 重複進入的問題已刪文

看板C_Sharp (C#)作者 (阿風~~)時間2年前 (2021/11/09 09:13), 編輯推噓0(000)
留言0則, 0人參與, 最新討論串1/1
各位大大,我遇到一個問題很怪的是,我的post後,都會再一次回到get,不知道 大家有遇過嗎,以下是程式碼。這個是有主版的,但也很單純,只有renderBody而已 流程會是,get index -> 前端post -> post Index -> get index [httpGet] public ActionResult Index() { return View(); } [httpPost] public ActionResult Index() { return View(); } -- ※ 發信站: 批踢踢實業坊(ptt.cc), 來自: 180.183.247.253 (泰國) ※ 文章網址: https://www.ptt.cc/bbs/C_Sharp/M.1636420412.A.9D3.html
文章代碼(AID): #1XYSiydJ (C_Sharp)
文章代碼(AID): #1XYSiydJ (C_Sharp)