Form generation method, form generation device and electronic equipment
The invention discloses a form generation method, a form generation device and electronic equipment, and relates to the field of computers. The form generation method comprises the steps that a user-defined JSON configuration file is obtained, the user-defined JSON configuration file comprises a plu...
Saved in:
Main Authors | , , , , , , |
---|---|
Format | Patent |
Language | Chinese English |
Published |
03.03.2023
|
Subjects | |
Online Access | Get full text |
Cover
Loading…
Summary: | The invention discloses a form generation method, a form generation device and electronic equipment, and relates to the field of computers. The form generation method comprises the steps that a user-defined JSON configuration file is obtained, the user-defined JSON configuration file comprises a plurality of configurable objects, and the configurable objects comprise a plurality of configurable form items; traversing the self-defined JSON configuration file by utilizing a constructor, and generating a virtual form component according to a configurable object; and generating a form based on the virtual form component, and rendering the form in a front-end framework. Through the method, various simple and complex form items are realized, and various different forms can be quickly generated by configuring according to the configuration file; in addition, the JSON configuration file is converted into the virtual form component through the constructor with the specific grammar, various target forms are convenientl |
---|---|
Bibliography: | Application Number: CN202211466712 |