GithubHelp home page GithubHelp logo

win5do / vue-fb-demo Goto Github PK

View Code? Open in Web Editor NEW
92.0 92.0 53.0 485 KB

a simple admin demo,backend use node,frontend use vue.

JavaScript 30.21% CSS 33.60% Shell 0.05% Vue 31.42% SCSS 3.96% Pug 0.75%
nodejs vue

vue-fb-demo's Introduction

vue-fb-demo's People

Contributors

dependabot[bot] avatar win5do avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

vue-fb-demo's Issues

后端问题

请教下:后端跑起来后,遇到调用会报如下错误,
let q = conn.query(sql, val, (err, rows) => {
^
TypeError: Cannot read property 'query' of undefined
at pool.getConnection (D:\Projects\vue\vue-fb-demo-master\back-end\sql\func.js:8:26)

具体是啥原因?谢谢

TypeError: Cannot read property 'length' of null

TypeError: Cannot read property 'length' of null
at func.connPool.rows (E:\vue-fb-demo\back-end\controls\user.js:90:23)
at Query.conn.query [as _callback] (E:\vue-fb-demo\back-end\sql\func.js:16:17)
at Query.Sequence.end (E:\vue-fb-demo\back-end\node_modules\mysql\lib\protocol\sequences\Sequence.js:88:24)
at Query._handleFinalResultPacket (E:\vue-fb-demo\back-end\node_modules\mysql\lib\protocol\sequences\Query.js:139:8)
at Query.EofPacket (E:\vue-fb-demo\back-end\node_modules\mysql\lib\protocol\sequences\Query.js:123:8)
at Protocol._parsePacket (E:\vue-fb-demo\back-end\node_modules\mysql\lib\protocol\Protocol.js:279:23)
at Parser.write (E:\vue-fb-demo\back-end\node_modules\mysql\lib\protocol\Parser.js:76:12)
at Protocol.write (E:\vue-fb-demo\back-end\node_modules\mysql\lib\protocol\Protocol.js:39:16)
at Socket. (E:\vue-fb-demo\back-end\node_modules\mysql\lib\Connection.js:103:28)
at emitOne (events.js:116:13)

执行nodemon app后出现问题

start.js:247 Refused to frame 'http://ht.www.sogou.com/websearch/features/yun6.jsp?pid=sogou-brse-d2a452ed…98D83EC3B72BB16A05F1BDF&query=Error|http%3A%2F%2Flocalhost%3A9999%2Fapi%2F' because it violates the following Content Security Policy directive: "default-src 'self'". Note that 'frame-src' was not explicitly set, so 'default-src' is used as a fallback.
initIframe @ start.js:247(anonymous function) @ start.js:548
localhost/:1 Refused to load the image 'http://ht.www.sogou.com/images/extsugg/sogoutip.gif' because it violates the following Content Security Policy directive: "default-src 'self'". Note that 'img-src' was not explicitly set, so 'default-src' is used as a fallback.

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.