V2EX = way to explore
V2EX 是一个关于分享和探索的地方
现在注册
已注册用户请  登录
albert0yyyy
V2EX  ›  Vue.js

chrome 里 body 里的 json 请求和 preview 不一致,值变成 null 了

  •  
  •   albert0yyyy · 2020-07-31 17:21:50 +08:00 · 979 次点击
    这是一个创建于 1382 天前的主题,其中的信息可能已经有所发展或是发生改变。
    环境:Vue,axios
    发送 Put 请求,结果值一直是 null
    request payload 里:
    category_id: 1

    preview 里:
    category_id: null

    服务器里也就收到了 null,这是啥情况?
    目前尚无回复
    关于   ·   帮助文档   ·   博客   ·   API   ·   FAQ   ·   实用小工具   ·   1076 人在线   最高记录 6547   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 29ms · UTC 19:28 · PVG 03:28 · LAX 12:28 · JFK 15:28
    Developed with CodeLauncher
    ♥ Do have faith in what you're doing.