Coder Social home page Coder Social logo

Comments (2)

weirui88888 avatar weirui88888 commented on August 13, 2024

from express-mongodb-node.

weirui88888 avatar weirui88888 commented on August 13, 2024

您好,vue初学者,clone了您的工程在本地,开启mongodb ,node app.js 和 npm run dev后,打开浏览器通过登录界面可以进入到list界面,在list界面中,点击添加后,如下图:
image
点击确定后,显示新增成功,但是在MongoDB内查询数据发现,插入的数据都为空:
image
没有对代码进行任何修改,请问这是什么原因导致的呀,万分感谢!

你好,今天有时间看了下这个项目,确实存在你说的那个问题,那是因为我在保存后,会把addform dialog给关闭,这样的话就会清空表单里面的数据。你尝试着在List.vue中搜索下closeAdd你就明白了。

from express-mongodb-node.

Related Issues (9)

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.