Giter VIP home page Giter VIP logo

Comments (7)

huangshuwei avatar huangshuwei commented on May 24, 2024 1

https://jsfiddle.net/huangsw/hcdsgrgf/1/ 已经知道怎么做了

这个实例是在父组件内操作删除行的,并不是在子组件内删除。
如果你用了状态管理( vuex) ,可以通过vuex 机制去处理。

如果没有用状态管理,那么我会添加一个子组件与父组件通讯的功能,预计今天发布

from vue-easytable.

huangshuwei avatar huangshuwei commented on May 24, 2024 1

@yichangle

这个功能好!我被迫用vuex,结果导致代码维护困难。

感谢一直支持,铁杆粉丝啊

from vue-easytable.

alexxuan avatar alexxuan commented on May 24, 2024

https://jsfiddle.net/huangsw/hcdsgrgf/1/ 已经知道怎么做了 3Q @huangshuwei

from vue-easytable.

alexxuan avatar alexxuan commented on May 24, 2024

嗯 麻烦了 想来想去还是子组件与父组件通讯最好了

from vue-easytable.

huangshuwei avatar huangshuwei commented on May 24, 2024

已实现,已发布,安装最新版本即可
https://github.com/huangshuwei/vue-easytable/releases/tag/1.5.4

实例参考:
http://doc.huangsw.com/vue-easytable/app.html#/table?anchor=table-custom-columns

from vue-easytable.

yichangle avatar yichangle commented on May 24, 2024

这个功能好!我被迫用vuex,结果导致代码维护困难。

from vue-easytable.

huangshuwei avatar huangshuwei commented on May 24, 2024

@yichangle
中大型项目还是需要使用状态管理器的,否则更难维护😂

from vue-easytable.

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.