Forráskód Böngészése

报名表单数据类型

xionghaojie 3 éve
szülő
commit
7fee564540
1 módosított fájl, 5 hozzáadás és 3 törlés
  1. 5 3
      src/App.vue

+ 5 - 3
src/App.vue

@@ -118,6 +118,7 @@ export default {
     settingCustomerService,
     editorProduct,
     settingProduct,
+    
     materialManage
   },
   data() {
@@ -162,11 +163,11 @@ export default {
             title: { value: '报名表', isShow: true },
             database: '',
             formItemList: [{
-              label: '', databaseLabel: '', type: 1, required: true
+              label: '', databaseLabel: '', type: 1, required: true,dataType:''
             }, {
-              label: '', databaseLabel: '', type: 1, required: true
+              label: '', databaseLabel: '', type: 1, required: true,dataType:''
             }, {
-              label: '', databaseLabel: '', type: 5, required: true, option: [{ label: '', value: '' }, { label: '', value: '' }]
+              label: '', databaseLabel: '', type: 5, required: true,dataType:'', option: [{ label: '', value: '' }, { label: '', value: '' }]
             }],
             buttonName: ''
           }
@@ -360,6 +361,7 @@ export default {
     },
     // 提交
     submit() {
+      // console.log(this.view)
       this.checkSubmit()
       if (this.pass) {
         let posObj = {