Giter VIP home page Giter VIP logo

Comments (4)

2nthony avatar 2nthony commented on August 14, 2024 3

😇

文笔水平有限请谅解. 这几项提议个人感觉都很好🤔

Hi,根据目前版本的情况,列一些可能不是最优的解决方法: (至于其他功能性的问题需要跟 巨佬们 请示/讨论)

2:假设你的是表单联动问题,此表格组件内使用的表单组件是团队定制版的el-form-renderer

可以参考一下content[].$enableWhen用法

// 大意为 `上下九` 只会在 `province === 'Guangdong'` 时才会可操作
[
  {
    label: '上下九',
    $enableWhen: {
      province: 'Guangdong'
    }
  }
]

5:headerButtonsextraButtons 两者暂不支持其他原生属性,但支持el-button的属性

{
  type: 'primary',
  text: '附加按钮1'
}

from el-data-table.

2nthony avatar 2nthony commented on August 14, 2024

如果是函数,除了接收当前行的表格数据,还有什么参数建议吗😊

from el-data-table.

PPPenny avatar PPPenny commented on August 14, 2024

具体情况具体分析吧,参数的话,我写的时候,只用到这一行的数据。
其他的tips:
1:新增、修改和查看用的同一个form。最大的问题就是,当新增和查看的字段不一样的时候。比如:新增和修改的时候,不需要日期,会在生成这个数据的时候直接带上日期。但是查看,就要看到创建时间和更新时间了。
2:新增和修改如何动态的展示。如:选择省市,先选择了省才能选择市,这些约束如何实现。
3:url不填写,就会报个warning,如果数据不是你们要求的格式,我们要转一次才能传过去呀,强迫症,不想看到警告。
4:更新维护哈接口文档吧,感谢大佬。
5:按钮能增加其他属性不?比如类名,因为设计小姐姐并不是按照UI库来的,还有需要些伪类样式来实现。

from el-data-table.

lianghx-319 avatar lianghx-319 commented on August 14, 2024

数据格式是前后端约定好的。建议前端后统一规范

from el-data-table.

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.