Form component state switching method and device
A state switching and component state technology, applied in the information field, can solve the problem that the state of the form page cannot be switched at will, and achieve the effect of cost reduction
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment 1
[0044] Reference Figure 4 , Shows a flowchart of a method for switching the state of a form component according to an embodiment of the present application, which may specifically include the following steps:
[0045] Step 401: Load the form state control component.
[0046] In the embodiment of the present application, after the page code of the form page is obtained from the application server, the page code is loaded, and the form state control component is loaded while the page code is loaded.
[0047] The page code can be HTML code. One or more form tags are set in the page code. In addition, form state control components are also set. The form tags in the page code are bound to the corresponding form state control components through the form The state control component can control the state of the first form component in the page code.
[0048] Step 402: Obtain the first form component used by the form page through the form state control component; the first form component incl...
Embodiment 2
[0062] Reference Figure 5 , Shows a specific flowchart of a method for switching the state of a form component according to an embodiment of the present application, which may specifically include the following steps:
[0063] Step 501: Obtain the original second form component in the original form component library.
[0064] In the embodiment of the present application, obtaining the original second form component from the original form component library can be to obtain all the original second form components in the original form component library, or it can be based on the requirements of the form page, from the corresponding original Obtain the required original second form component from the form component library.
[0065] The original form component library includes antd open source form component library, open source amazeui form component library, open source rc-component form component library and open source RSUITE form component library, etc. The standards in each origin...
Embodiment 3
[0113] Reference Image 6 , Shows a flowchart of another form component state switching method according to an embodiment of the present application, which may specifically include the following steps:
[0114] Step 601: Load the form state control components corresponding to the multiple form tags in the form page, and bind each form state control component to the corresponding form tags.
[0115] In the embodiment of the present application, one form page may include multiple form tags, and one form tag corresponds to one form state control component.
[0116] After obtaining the page code of the form page from the application server, load the page code. While loading the page code, load the form status control components corresponding to the multiple form tags in the form page, and associate each form status control component with the corresponding The form label binding.
[0117] For example, a form page includes 3 form labels, namely form label 1, form label 2, and form label 3. ...
PUM
Abstract
Description
Claims
Application Information
- R&D Engineer
- R&D Manager
- IP Professional
- Industry Leading Data Capabilities
- Powerful AI technology
- Patent DNA Extraction
Browse by: Latest US Patents, China's latest patents, Technical Efficacy Thesaurus, Application Domain, Technology Topic, Popular Technical Reports.
© 2024 PatSnap. All rights reserved.Legal|Privacy policy|Modern Slavery Act Transparency Statement|Sitemap|About US| Contact US: help@patsnap.com