Comments (6)
- http2 协议引起的,具体什么原因不知道,搞定了麻烦告诉我~
- 不清楚,建议你在服务端断点调试,极有可能是针对了域名来源做过滤引起的,而你没有修改
- 对于评论,xss是有过滤的,对于博主,文章包含脚本代码是需求。
- 啥?
可能陆陆续续半年多吧,看 commit 记录挺久的
from surmon.me.
貌似跟h2关系不大,在Firefox / IE 中测试没问题,Chrome / Edge 中会这样
测试请求发现,所有的response结果在chrome中是这样的
{
...
status: 200
statusText: ""
}
statusText 值为空, Firefox中值为“OK”
所以在判断success时为false
改成 Object.is(response.status, 200)
问题解决
- 至于刷新数据才显示,不知道原因。
上面说的那个4 是后台的提示信息
貌似跟没填写qiniu账号有关,还没找原因。
from surmon.me.
1我下午修复了,确实是你说的原因,所以现在改判断status是否有效了,还是h2/1.1在chrome下表现不一致导致的。按理说如果修复了,“刷新才显示”这个bug应该就不存在了才对。
后台那个项目,我好久没更新了,不知道是什么问题,也不打算继续维护了,只要能用就可以,弹出的消息是依赖了一个ngx的组件,你可以看下是否是组件你的更新导致的
from surmon.me.
是的,bug 不存在了,当时没明白为什么会这样
后台提示信息也可以了,版本问题导致 moxie defined
Thanks
from surmon.me.
因为 SSR 同构,在服务端请求时 axios 用的是 http(具体是啥我也不知道)模块,不存在客户端的字段偏差, 所以一定能渲染成功。
from surmon.me.
之前没太搞懂SSR机制,明白了。
from surmon.me.
Related Issues (20)
- 求助 项目跑起来之后音乐没有列表 日历也没有加载 HOT 2
- vuniversal 分支是不可以build吗 看yarn build 没有vuniversal文件夹下的build HOT 2
- 哔哩哔哩那块的视频封面的nginx反向代理该如何配置 HOT 3
- prod 环境主体样式没丢失 HOT 2
- 启动后出现的语法报错 HOT 2
- ssr运行错误 HOT 5
- [NEED UPDATE] update your blog posts HOT 4
- Cannot find module ... 🤷♀️
- Cannot find module ... 🤷♀️
- 也是ssr运行错误,但与上一个提问的报错信息不同 HOT 3
- yarn build||yarn build:ssr 报错 HOT 3
- 请问作者,之前网站是用nuxt构建的,为什么换掉了?是因为nuxt有什么解决不了的缺陷么?还是有其他原因? HOT 2
- 求教一下,如何在nuxt里面进行ABTest HOT 2
- 发布一个很水的问题给作者大大 HOT 7
- 有个疑问
- [求助]: 我想请问下源码中`renderSripts`部分的作用 HOT 3
- 请问下这个可以商用么?
- 为什么管理后台和前端用的不同的技术栈? HOT 2
- run dev error HOT 2
- pnpm run dev无法启动 win10 系统 HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from surmon.me.