Git Product home page Git Product logo

Comments (6)

surmon-china avatar surmon-china commented on July 22, 2024
  1. http2 协议引起的,具体什么原因不知道,搞定了麻烦告诉我~
  2. 不清楚,建议你在服务端断点调试,极有可能是针对了域名来源做过滤引起的,而你没有修改
  3. 对于评论,xss是有过滤的,对于博主,文章包含脚本代码是需求。
  4. 啥?

可能陆陆续续半年多吧,看 commit 记录挺久的

from surmon.me.

fatesinger avatar fatesinger commented on July 22, 2024

貌似跟h2关系不大,在Firefox / IE 中测试没问题,Chrome / Edge 中会这样
测试请求发现,所有的response结果在chrome中是这样的

{
    ...
    status: 200
    statusText: ""
}

statusText 值为空, Firefox中值为“OK”
所以在判断success时为false
改成 Object.is(response.status, 200) 问题解决

  • 至于刷新数据才显示,不知道原因。

上面说的那个4 是后台的提示信息

tim 20170801005312

貌似跟没填写qiniu账号有关,还没找原因。

from surmon.me.

surmon-china avatar surmon-china commented on July 22, 2024

1我下午修复了,确实是你说的原因,所以现在改判断status是否有效了,还是h2/1.1在chrome下表现不一致导致的。按理说如果修复了,“刷新才显示”这个bug应该就不存在了才对。

后台那个项目,我好久没更新了,不知道是什么问题,也不打算继续维护了,只要能用就可以,弹出的消息是依赖了一个ngx的组件,你可以看下是否是组件你的更新导致的

from surmon.me.

fatesinger avatar fatesinger commented on July 22, 2024

是的,bug 不存在了,当时没明白为什么会这样
后台提示信息也可以了,版本问题导致 moxie defined
Thanks

from surmon.me.

surmon-china avatar surmon-china commented on July 22, 2024

因为 SSR 同构,在服务端请求时 axios 用的是 http(具体是啥我也不知道)模块,不存在客户端的字段偏差, 所以一定能渲染成功。

from surmon.me.

fatesinger avatar fatesinger commented on July 22, 2024

之前没太搞懂SSR机制,明白了。

from surmon.me.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.