Comments (3)
贴下schema
from vue-json-schema-form.
贴下schema
type: 'object',
properties: {
tabDivideMode: {
type: 'string',
title: '分隔模式',
default: 'average',
enum: ['content', 'average'],
enumNames: ['内容适配', '均分'],
category: '基础属性'
},
tabList: {
type: 'array',
title: 'Tab列表',
'ui:options': {
showIndexNumber: true
},
default: [
{
title: '标签一',
img: 'https://yppphoto.1-xian.cn/yppphoto/e38265ae929c48528782a8727abce331.png'
},
{
title: '标签二',
img: '"https://yppphoto.1-xian.cn/yppphoto/7edde32a785d440681141407f643d5fa.png'
}
],
category: '别的属性',
items: {
type: 'object',
properties: {
title: {
type: 'string',
title: '标题'
},
img: {
type: 'string',
title: '图片'
// 'ui:widget': 'Upload'
}
}
}
}
}
from vue-json-schema-form.
JSONSchema 有category语法吗 ? 看着没问题 Demo
from vue-json-schema-form.
Related Issues (20)
- Type 类型兼容数组不报错
- 模块 ""@lljj/vue3-form-ant"" 没有导出的成员 "JsonSchemaFormAntdV4" HOT 1
- 建议支持Dialog HOT 2
- 布局配置:formProps属性不生效 HOT 3
- 如何将保存和取消按钮放置在整个页面其他位置,而不是最底端
- [求助] 夜间模式下,array的背景不会自动成暗色 HOT 3
- Inline props not working
- AutoCompleteWidget如何使用 HOT 1
- input number默认失去焦点才更新form,如何修改这个行为?希望可以在用户输入的时候实时更新form数据 HOT 1
- 关于Vue JSON Schema Form使用文本框加上的图标问题 HOT 1
- 有考虑支持 arco design 的vue版本吗 HOT 1
- on-validation-failed 事件 中的 errorObj 用 console.log 打印出来是undefine HOT 1
- 求助,map[string]string动态添加属性,如何生成schema HOT 3
- Q: schema 生成那个页面有导出组件使用吗 HOT 1
- Vue3中, 对Vue-Form进行复用, 之前的formData没有清除, 带到下一次提交的值中了 HOT 1
- Vue3使用SelectWidget多选,插槽没起效果 HOT 1
- import VueForm 的时候报错了 HOT 1
- AnyOf/OneOf 子节点为`$ref`时,选项标题是“选项1、2...”,而非子节点的 `title` HOT 5
- 下拉或单选 多选等组件的选项内容支持disabled嘛 HOT 1
- Amazon 创建商品的JsonSchema HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from vue-json-schema-form.