This commit is contained in:
daniel-dx
2019-03-03 13:41:18 +08:00
parent 010bc83024
commit 62c02cb1d4
25 changed files with 70 additions and 48 deletions
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
@@ -282,6 +282,9 @@ resField: Which field of the response data as the data source, as the example re
// Bootstrap the app
new Vue({
el: '#demo',
mounted() {
this.$ncformSetLang(lang === 'cn' ? 'zh_cn' : 'en');
},
data: {
formSchemas: getFormSchemas(),
originFormSchemas: getFormSchemas()
@@ -200,6 +200,9 @@
// Bootstrap the app
new Vue({
el: '#demo',
mounted() {
this.$ncformSetLang(lang === 'cn' ? 'zh_cn' : 'en');
},
data: {
formSchemas: getFormSchemas(),
originFormSchemas: getFormSchemas()
@@ -572,6 +572,9 @@ The description of each field of upload is as follows:
// Bootstrap the app
new Vue({
el: '#demo',
mounted() {
this.$ncformSetLang(lang === 'cn' ? 'zh_cn' : 'en');
},
data: {
formSchemas: getFormSchemas(),
originFormSchemas: getFormSchemas()
@@ -60,7 +60,7 @@
properties: {
label: {
type: 'string',
default: 'some text',
default: 'ncform',
ui: {
widget: 'label'
}
@@ -78,7 +78,7 @@
properties: {
label: {
type: 'string',
value: 'some text',
value: 'ncform, a nice form development way that generates form UIs and their interactions with just configuration.',
ui: {
widget: 'label'
}
@@ -351,6 +351,9 @@
// Bootstrap the app
new Vue({
el: '#demo',
mounted() {
this.$ncformSetLang(lang === 'cn' ? 'zh_cn' : 'en');
},
data: {
formSchemas: getFormSchemas(),
originFormSchemas: getFormSchemas()
@@ -469,6 +469,9 @@ url: file url
// Bootstrap the app
new Vue({
el: '#demo',
mounted() {
this.$ncformSetLang(lang === 'cn' ? 'zh_cn' : 'en');
},
data: {
formSchemas: getFormSchemas(),
originFormSchemas: getFormSchemas()
+2 -1
View File
@@ -9,6 +9,7 @@
}
#demo .demo_item-wrapper > div:first-child {
flex: 1;
width: 33%;
}
#demo .demo_item-wrapper > div:first-child small {
margin-top: 8px; display: block;
@@ -31,4 +32,4 @@
}
.doc .el-submenu .el-menu-item {
height: 40px;
}
}
@@ -268,6 +268,9 @@
// Bootstrap the app
new Vue({
el: '#demo',
mounted() {
this.$ncformSetLang(lang === 'cn' ? 'zh_cn' : 'en');
},
data: {
formSchemas: getFormSchemas(),
originFormSchemas: getFormSchemas()
@@ -303,6 +303,9 @@
// Bootstrap the app
new Vue({
el: '#demo',
mounted() {
this.$ncformSetLang(lang === 'cn' ? 'zh_cn' : 'en');
},
data: {
formSchemas: getFormSchemas(),
originFormSchemas: getFormSchemas()