
Company News
Jerod Santo Joins Socket as Head of Media
Allow myself to introduce... myself.
@fx-form/vue2-element
Advanced tools
基于 Element Ui 、Vue2、 JSON Schema 生成表单
通过 @lljj/vue2-form-core 适配 ElementUi 库
## npm
npm install --save @lljj/vue-json-schema-form
## yarn
yarn add @lljj/vue-json-schema-form
<VueForm
v-model="formData"
:schema="schema"
>
</VueForm>
// 使用
import VueForm from '@lljj/vue-json-schema-form';
export default {
name: 'Demo',
components: {
VueForm
},
data() {
return {
formData: {},
schema: {
type: 'object',
required: [
'userName',
'age',
],
properties: {
userName: {
type: 'string',
title: '用户名',
default: 'Liu.Jun',
},
age: {
type: 'number',
title: '年龄'
},
bio: {
type: 'string',
title: '签名',
minLength: 10,
default: '知道的越多、就知道的越少',
'ui:options': {
placeholder: '请输入你的签名',
type: 'textarea',
rows: 1
}
}
}
}
};
}
};
Apache-2.0
FAQs
json scheam form element-ui
The npm package @fx-form/vue2-element receives a total of 0 weekly downloads. As such, @fx-form/vue2-element popularity was classified as not popular.
We found that @fx-form/vue2-element demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.

Company News
Allow myself to introduce... myself.

Research
/Security News
A Twitch browser extension on Chrome and Firefox forwards users’ live OAuth session tokens through proxies controlled by a Russian bot service.

Security News
Anthropic found biased reasoning and recklessness drove Claude Mythos 5 to publish malware on PyPI and compromise a security vendor.