Component state management method and device, equipment and storage medium

The invention belongs to the field of application development, and provides a component state management method and device, equipment and a storage medium. The method comprises the following steps: declaring a common operation method of a component state, wherein the common operation method of the c...

Ausführliche Beschreibung

Gespeichert in:
Bibliographische Detailangaben
Hauptverfasser: ZHENG CONG, XIONG XINPING, LIU TIEZHU
Format: Patent
Sprache:chi ; eng
Schlagworte:
Online-Zugang:Volltext bestellen
Tags: Tag hinzufügen
Keine Tags, Fügen Sie den ersten Tag hinzu!
Beschreibung
Zusammenfassung:The invention belongs to the field of application development, and provides a component state management method and device, equipment and a storage medium. The method comprises the following steps: declaring a common operation method of a component state, wherein the common operation method of the component state comprises modification of the component state and resetting of the component state; receiving an instruction of a common operation method, obtaining path information of components in the instruction of the common operation method, and analyzing according to the path information to obtain a target component to be managed; and performing a modification operation or a reset operation on the state of the target component according to the declared common operation method. Therefore, when the component state is managed, operation can be carried out only by combining the target component determined by the path information in the instruction based on the declared public operation method, and the operation me