14-07-2023 дата публикации
Номер: CN116431112A
Принадлежит:
The invention relates to an extensible front-end functional component implementation method and device and electronic device.The method comprises the steps that a front-end page functional module is decoupled, a plurality of script files abstractly packaged into a single component function are obtained, the script files can be reused in a cross-frame mode, the script files are added to an initialized member list, and the initialized member list is stored in a server; initializing the script file in the initialized member list to obtain a target component with a unique identifier, detecting a basic component associated with the target component in the base library, associating the target component with the basic component to obtain a functional component, and adding the functional component into the base library to obtain a front-end functional component library. According to the invention, centralized control of components is realized, and maintenance is convenient; the assembly can be ...
Подробнее