Giter VIP home page Giter VIP logo

Comments (5)

lljj-x avatar lljj-x commented on May 10, 2024 1

原本的设计也是这样,保持一份纯的JsonSchema,也方便同步给服务端做数据校验等。
可能有些场景或者习惯写在一起,这里会做一个升级,可以支持两边同时配置,只不过单独配置的优先级更高。

@Wisgon 另外ui和error实际使用完全相同的路径读取,合并在一起确实可行

from vue-json-schema-form.

lljj-x avatar lljj-x commented on May 10, 2024

可以,很好的建议,下个版本加上去

from vue-json-schema-form.

Wisgon avatar Wisgon commented on May 10, 2024

我倒是觉得就这样分开来好,逻辑比较清晰,schema是纯的json schema,ui是ui,不过ui和error并到一起倒还可以 ,要是全弄到一块去的话,看起来就很混乱,不方便阅读

from vue-json-schema-form.

lljj-x avatar lljj-x commented on May 10, 2024

@alicksnake22

v0.0.16 这个版本可以支持在schema中配置 uierror

文档参见这里:ui、error 配置在schema中

from vue-json-schema-form.

alicksnake22 avatar alicksnake22 commented on May 10, 2024

@lljj-x 高效

from vue-json-schema-form.

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.