DEV Community

qianduan
qianduan

Posted on

how to totally automatically generate vue form

  1. generate a list ,each item has attributes like [{title: '', key:'',placeHolder: ''}]

  2. when post data,put all the key values in one object

  3. when query data from backend,all the value stored in one object. then we can use model to map each key

Top comments (0)