Giter VIP home page Giter VIP logo

Comments (7)

WangXin3 avatar WangXin3 commented on June 18, 2024 4

@InfiniteJustice

vuehr/src/components/emp/EmpBasic.vue
896行下面加
delete this.emp.salary;

from vhr.

WangXin3 avatar WangXin3 commented on June 18, 2024

@DKY10000 我已解决这个问题 可以看下pull requests

from vhr.

InfiniteJustice avatar InfiniteJustice commented on June 18, 2024

@DKY10000 我已解决这个问题 可以看下pull requests

同问,老哥是怎么解决这个问题的,我编辑资料一直都修改不了

from vhr.

nicknicknicknick1 avatar nicknicknicknick1 commented on June 18, 2024

@w306026355 你好,我想请教一下项目删除的功能为什么也会操作失败呀。刚开始学有点懵...麻烦解答一下。

from vhr.

WangXin3 avatar WangXin3 commented on June 18, 2024

@Pony9527 你好,我的删除功能没有问题

from vhr.

nicknicknicknick1 avatar nicknicknicknick1 commented on June 18, 2024

from vhr.

Jiangzehang avatar Jiangzehang commented on June 18, 2024

@w306026355 我的删除功能有点问题,不过我把表之间的关联删掉就好了,我觉得表关联的作用不是很大。 经过调试:删除失败是因为关联了外键,重新执行 SQL 语句:SET FOREIGN_KEY_CHECKS=0; 就好了。还是尽可能不更改设计的情况解决问题。

还有一个方法就是做一下级联删除,将相关联的表数据一并删除或者设置相关字段为空值

from vhr.

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.