fandean / web-demos Goto Github PK
View Code? Open in Web Editor NEWweb前端相关的演示学习项目
web前端相关的演示学习项目
看《Vue.js前端开发-快速入门与专业应用》
点击 “上/下页” 后都会导致页面重载,这会重新为 page 赋值,导致无法跳转页面。
明明使用了 ajax,为什么还会重载整个页面?
在项目node.js>blog项目中,在未将Bootstrap的导航栏作为layout时,是可以正常使用下拉菜单的;但是一旦将其放入layout.html文件中作为模板使用时,点击下拉菜单无效。
当在主页和admin之间多次跳转时出现下面的错误:
_http_outgoing.js:356
throw new Error('Can\'t set headers after they are sent.');
^
Error: Can't set headers after they are sent.
at ServerResponse.OutgoingMessage.setHeader (_http_outgoing.js:356:11)
at ServerResponse.header (/home/fan/workspace/web-demos/node.js/blog/node_modules/express/lib/response.js:767:10)
at ServerResponse.send (/home/fan/workspace/web-demos/node.js/blog/node_modules/express/lib/response.js:170:12)
at done (/home/fan/workspace/web-demos/node.js/blog/node_modules/express/lib/response.js:1004:10)
at /home/fan/workspace/web-demos/node.js/blog/node_modules/swig/lib/swig.js:565:9
at /home/fan/workspace/web-demos/node.js/blog/node_modules/swig/lib/swig.js:690:9
at tryToString (fs.js:455:3)
at FSReqWrap.readFileAfterClose [as oncomplete] (fs.js:442:12)
“Can’t set headers after they are sent.” => “不能发送headers因为已经发送过一次了”
(node:19829) DeprecationWarning: `open()` is deprecated in mongoose >= 4.11.0, use `openUri()` instead, or set the `useMongoClient` option if using `connect()` or `createConnection()`. See http://mongoosejs.com/docs/connections.html#use-mongo-client
数据库连接成功
(node:19829) DeprecationWarning: Mongoose: mpromise (mongoose's default promise library) is deprecated, plug in your own promise library instead: http://mongoosejs.com/docs/promises.html
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.