Method, device and electronic device for automatically configuring menu
By selecting the routing address by yourself and positioning the target low-code data, the menu is directly generated, which solves the problems of diversified user needs and insufficient efficiency in menu configuration, and realizes efficient menu generation and personalized configuration.
Patent Information
- Application Number
- CN202510449525.1
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2025-04-11
- Publication Date
- 2025-09-02
- Estimated Expiration
- 2045-04-11
AI Technical Summary
The prior art has problems such as diversified user needs and insufficient configuration efficiency in menu configuration, especially when multi-level menu configuration, errors are prone to occur and workload is large.
By selecting the routing address by yourself and positioning the target low-code data, the menu is directly generated, which reduces the dependence on R&D personnel, and achieves the efficiency of menu generation and the diverse needs of users.
It simplifies the menu configuration process, reduces the workload of repeatedly configuring routing addresses and low-code data, and improves menu generation efficiency and satisfys user personalized needs.
Smart Images

Figure CN119961313B_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the field of computer software technology, and in particular to a method, device and electronic device for automatically configuring a menu. Background Art
[0002] With the development of software, users have more and more demands for menu configuration. The traditional method of configuring menus is to configure a routing address for each new menu and configure the code data corresponding to the routing address and the menu into the database.
[0003] In order to improve the efficiency of menu configuration, low-code platforms that implement software systems through dragging and dropping and configuration are gradually appearing on the market in the form of components. As market competition technology and implementation methods become more and more mature, users can easily customize menus that meet their requirements using low-code platforms. However, in order to implement more complex systems, multi-level menus are usually required. For menu configuration, the routing address will be stored through the code and the menu table in the database. In this case, each page has a corresponding configuration item. If there are many pages, the number of configuration items will be huge. Whether it is the routing configuration item in the code or the configuration item in the menu table, they need to correspond one by one, which is prone to errors and the number is large, which is a large workload for R&D personnel.
[0004] Thus, it can be seen that there is currently no menu configuration method that can take into account both the diversification of user needs and the efficiency of menu configuration. Summary of the Invention
[0005] In view of this, the embodiments of the present application provide a method, device and electronic device for automatically configuring menus, which automatically selects the routing address according to user instructions and locates the target low-code data to directly generate the menu, thereby taking into account both menu generation efficiency and user diversity needs.
[0006] In a first aspect, an embodiment of the present application provides a method for automatically configuring a menu, comprising the following steps:
[0007] responding to menu configuration instructions;
[0008] According to the menu configuration instructions, select the target routing address;
[0009] According to the target routing address and menu configuration instructions, the target low-code data is selected in the preset database, wherein the target routing address is the routing address where the target low-code data can be found, and the target low-code data is the low-code data that can implement the menu configuration instructions;
[0010] Configure the menu based on your target low-code data.
[0011] In some possible implementations, the routing address includes an ID parameter, and the ID parameter corresponds to a menu configuration instruction;
[0012] According to the menu configuration instructions, select the target routing address including:
[0013] According to the menu configuration instruction, select the ID parameter corresponding to the menu configuration instruction;
[0014] The corresponding routing address is selected according to the ID parameter, and the routing address corresponding to the ID parameter is used as the target routing address.
[0015] In some possible implementations, selecting target low-code data in a preset database according to a target routing address and menu configuration instructions includes:
[0016] According to the routing address and menu configuration instructions, target low-code data is obtained from at least one low-code data in the preset database, wherein all low-code data in the preset database correspond to the ID parameters of all routing addresses.
[0017] In some possible implementations, obtaining target low-code data from at least one low-code data includes:
[0018] From at least one low-code data, obtain the low-code data corresponding to the ID parameter of the routing address, and use the low-code data corresponding to the ID parameter of the routing address as the target low-code data.
[0019] In some possible implementations, the preset database includes multiple preset sub-databases, and each preset sub-database corresponds to a different ID parameter.
[0020] In some possible implementations, selecting target low-code data in a preset database according to a target routing address and menu configuration instructions includes:
[0021] According to the ID parameter corresponding to the menu configuration instruction, select the preset sub-database and select the target low-code data from the preset sub-database.
[0022] In some possible implementations, the menu configuration based on the target low-code data includes:
[0023] Render data on a preset template page based on the target low-code data.
[0024] In a second aspect, an embodiment of the present application provides a device for automatically configuring a menu, comprising:
[0025] a determining unit, configured to respond to a menu configuration instruction;
[0026] The configuration unit is used to select the target routing address according to the menu configuration instructions; select the target low-code data in the preset database according to the target routing address and the menu configuration instructions, wherein the target routing address is the routing address where the target low-code data can be found, and the target low-code data is the low-code data that can implement the menu configuration instructions; configure the menu according to the target low-code data.
[0027] In a third aspect, an embodiment of the present application provides an electronic device, which includes a memory for storing computer program instructions and a processor for executing the program instructions, wherein when the computer program instructions are executed by the processor, the electronic device is triggered to execute the method provided in the first aspect of the embodiment of the present application.
[0028] In a fourth aspect, an embodiment of the present application provides a computer-readable storage medium, which includes a stored program, wherein when the program is running, the device where the computer-readable storage medium is located is controlled to execute the method provided in the first aspect of the embodiment of the present application.
[0029] By adopting the solution provided in the embodiment of this application, the routing address is selected by the user using instructions, and the target low-code data is located to directly generate the menu. In this way, when adding a new menu, there is no need for R&D personnel to reconfigure the routing address and low-code data, thereby taking into account both menu generation efficiency and user diversity needs. BRIEF DESCRIPTION OF THE DRAWINGS
[0030] In order to more clearly illustrate the technical solutions of the embodiments of the present application, the following is a brief introduction to the drawings required for use in the embodiments. Obviously, the drawings described below are only some embodiments of the present application. For ordinary technicians in this field, other drawings can be obtained based on these drawings without any creative work.
[0031] Figure 1 A flowchart of a method for automatically configuring a menu provided in an embodiment of the present application;
[0032] Figure 2 A flowchart of a method for selecting a target routing address provided in an embodiment of the present application;
[0033] Figure 3 A schematic diagram of a device for automatically configuring a menu according to an embodiment of the present application;
[0034] Figure 4 A schematic structural diagram of an electronic device provided by an embodiment of the present invention. DETAILED DESCRIPTION
[0035] In order to better understand the technical solution of the present application, the embodiments of the present application are described in detail below with reference to the accompanying drawings.
[0036] It should be clear that the embodiments described are only part of the embodiments of this application, not all of the embodiments. Based on the embodiments in this application, all other embodiments obtained by ordinary technicians in this field without making creative work are within the scope of protection of this application.
[0037] The terms used in the embodiments of the present application are for the purpose of describing specific embodiments only and are not intended to limit the present application. The singular forms "a", "an", "the" and "the" used in the embodiments of the present application and the appended claims are also intended to include plural forms unless the context clearly indicates otherwise.
[0038] It should be understood that the term "and / or" as used herein simply describes a relationship between associated objects, indicating that three possible relationships exist. For example, "A and / or B" can represent: A alone, A and B together, or B alone. Furthermore, the character " / " in this document generally indicates an "or" relationship between the associated objects.
[0039] Currently, the drag-and-drop approach to developing software systems saves development time and resources compared to traditional development methods. Simply drag and drop components onto a page according to business requirements. However, as menus and sub-directories increase, menu configuration becomes complex. Each additional menu requires adding routing configuration code to the routing interface, and it's often impossible to predict how many sub-directories and menus users will configure, or how they'll personalize their names.
[0040] To solve the above problems, this technical solution optimizes and improves the menu routing configuration method, making the menu configuration more concise and convenient, and making full use of the routing configuration and menu configuration method with parameters. Only one item needs to be configured in the routing configuration code to meet the requirements of an unlimited number of first- and second-level menu configurations, providing new ideas and methods for the menu configuration of low-code platforms.
[0041] To this end, embodiments of the present application provide a method, apparatus, and electronic device for automatically configuring menus, which balance menu generation efficiency with diverse user needs. Detailed descriptions are provided below.
[0042] In an embodiment of the present application, in order to ensure the implementation of the automatic menu configuration method, at least a preset database is included. The preset database pre-stores multiple low-code data. Different low-code data can realize the configuration of different menus. Each low-code data corresponds to a routing address. The routing address can be directly stored in the preset database in the form of a directory or stored separately in a routing address table. Each routing address corresponds to a menu configuration instruction. In this way, the menu configuration instruction, routing address, and low-code data have a corresponding relationship.
[0043] See also Figure 1 , is a method for automatically configuring a menu provided in an embodiment of the present application, such as Figure 1 As shown, the method for automatically configuring a menu includes the following steps:
[0044] Step S101: responding to a menu configuration instruction.
[0045] It should be noted that the menu configuration instruction is a user operation instruction, which can be a user click, mouse drag, etc. For example, the user clicks "Add" and "Menu a" in sequence with the mouse to add Menu a.
[0046] Step S102: Select a target routing address according to the menu configuration instruction.
[0047] The target routing address is the routing address where the target low-code data can be found.
[0048] That is, in an embodiment of the present application, it is necessary to find the low-code data corresponding to the menu configuration instructions in the preset database according to the menu configuration instructions, so as to implement the configuration menu according to the low-code data. In this way, it is necessary to first find the low-code data corresponding to the menu configuration instructions in the preset database, and the low-code data is found through the target routing address, so it is necessary to select the target routing address.
[0049] It should be noted that low-code data can be saved in the form of long strings.
[0050] In some possible implementations, the routing address includes an ID parameter, and the ID parameter corresponds to a menu configuration instruction;
[0051] like Figure 2 As shown, in step S102, according to the menu configuration instruction, selecting the target routing address includes:
[0052] Step S121: According to the menu configuration instruction, select the ID parameter corresponding to the menu configuration instruction;
[0053] Step S122: Select a corresponding routing address according to the ID parameter, and use the routing address corresponding to the ID parameter as the target routing address.
[0054] That is, since there is a correspondence between the menu configuration instructions and the routing address, it is necessary to pre-set the correspondence between the menu configuration instructions and the routing address. In some implementations of the present application, the routing address includes an ID parameter, and the ID parameter corresponds to the menu configuration instruction to achieve the correspondence between the menu configuration instruction and the routing address.
[0055] In some embodiments, the ID parameter can be set directly in the routing address. For example, a certain bit of the routing address is specified as the ID parameter. The ID parameter can also be the number of the routing address. For example, there are 10 routing addresses, numbered 1-10, and the numbers 1-10 are the ID parameters.
[0056] It should be noted that there is a corresponding relationship between the ID parameter and the menu configuration instruction, so the ID parameter actually refers to the menu type.
[0057] The following uses an embodiment to illustrate the corresponding relationship between menu configuration instructions and routing addresses.
[0058] For example, menus can be divided into three types: form menu, large screen menu, and third-party page menu.
[0059] Set the last digit of the routing address as the ID parameter of the large-screen menu. For example, when the last digit of the routing address is 4, it indicates a large-screen menu. In this way, when the menu configuration instruction is to create a large-screen menu, the routing address can be parsed, and the target routing address can be determined by whether the routing address contains the ID parameter " / 4 / ". If " / 4 / " is included, it is the target routing address for creating a large-screen menu. If " / 4 / " is not included, it is a form menu or a third-party menu address. You can also set the ID parameter of the form menu to "F0000n", where n is a different type of form menu parameter. When the routing address does not contain " / 4 / ", if the routing address contains "F0000n", it can be determined as a form menu parameter, and the specific value of n can determine the form number.
[0060] It should be noted that the above-mentioned menu configuration instructions, the correspondence between routing addresses, the ID parameter setting method, etc. are only exemplary descriptions and are not limitations on the embodiments of the present application. In fact, as long as the correspondence between menu configuration instructions and routing addresses can be achieved, any menu configuration instructions, the correspondence between routing addresses, the ID parameter setting method, etc. are allowed by the embodiments of the present application.
[0061] Step S103: Select target low-code data from the preset database based on the target routing address and menu configuration instructions.
[0062] Among them, the target low-code data is low-code data that can implement menu configuration instructions.
[0063] In some possible implementations, in step S103, selecting target low-code data in a preset database according to the target routing address and menu configuration instructions includes:
[0064] According to the routing address and menu configuration instructions, target low-code data is obtained from at least one low-code data in the preset database, wherein all low-code data in the preset database correspond to the ID parameters of all routing addresses.
[0065] That is, the preset database includes multiple low-code data, each low-code data has a corresponding ID parameter, and each ID parameter corresponds to a different menu configuration instruction. According to the menu configuration instruction, the routing address corresponding to the ID parameter can be found, and then according to the routing address, the target low-code data can be found from the multiple low-code data in the preset database. In this way, there is no need for users to search for low-code data on their own, nor is there a need for R&D personnel to add a routing address and corresponding target low-code data for each additional menu, thus taking into account the diverse needs of users and the efficiency of menu configuration.
[0066] In some embodiments, the routing address is further parsed to obtain the ID parameter in the routing address. According to the above example, the specific steps of routing address parsing are: if the route of form menu 1 is " / 10000 / F00001", it will be parsed into the array ["10000", "F00001"]; if the route of large screen menu 1 is " / 20000 / 4 / 20001", it will be parsed into the array ["20000", "4", "20001"].
[0067] Determine whether the parsed array contains " / 4 / " (the number here is the ID parameter, i.e., the menu type; 4 indicates a large-screen menu. Checking whether it contains 4 can distinguish whether it is a large-screen menu). If it does not contain " / 4 / ", it is a form menu or a third-party menu. If it does, it is a large-screen menu. If the routing address points to a form, intercept the second-level routing address, which is "F00001". "F00001" is also the ID parameter of the form menu, thus completing the routing address parsing for the form menu.
[0068] After the routing address is resolved, taking the ID parameter "F00001" form menu as an example, obtaining target low-code data from at least one low-code data in the preset database includes:
[0069] The form menu ID parameter "F00001" is passed to the backend through the interface, and the preset database is checked to obtain the filter query data and table structure data of the form menu. The data is returned to the frontend using a list, and the frontend parses and renders the page through the Vue code.
[0070] In some possible implementations, obtaining target low-code data from at least one low-code data includes:
[0071] From at least one low-code data, obtain the low-code data corresponding to the ID parameter of the routing address, and use the low-code data corresponding to the ID parameter of the routing address as the target low-code data.
[0072] In some embodiments, when there is only one low-code data, the low-code data is directly used as the target low-code data.
[0073] In some embodiments, when there are multiple low-code data, the low-code data corresponding to the ID parameter of the routing address is found from the multiple low-code data, and the low-code data corresponding to the ID parameter of the routing address is used as the target low-code data.
[0074] In some possible implementations, the preset database includes multiple preset sub-databases, and each preset sub-database corresponds to a different ID parameter.
[0075] That is, when multiple different types of menus are included, each type of menu may correspond to a preset sub-database, multiple preset sub-databases constitute a preset database, and each preset sub-database corresponds to a different ID parameter.
[0076] In some possible implementations, selecting target low-code data in a preset database according to a target routing address and menu configuration instructions includes:
[0077] According to the ID parameter corresponding to the menu configuration instruction, select the preset sub-database and select the target low-code data from the preset sub-database.
[0078] In some embodiments, each low-code data in the preset database corresponds to a preset template page.
[0079] In some embodiments, each preset sub-database corresponds to a template page, that is, multiple low-code data in a preset sub-database correspond to a template page.
[0080] In a specific embodiment, multiple form menus share the same ID parameter, that is, multiple form menus share the same preset template page. The filter query fields and table fields displayed in each form menu are different because the data retrieved through the form code is different. The data retrieved through the form code is different because the form pages created by dragging and dropping when creating the form are different, and the fields selected to filter and screen and the fields to be displayed are also different. Therefore, the menus rendered by different data are different.
[0081] Step S104: Configure the menu according to the target low-code data.
[0082] In some possible implementations, the menu configuration based on the target low-code data includes:
[0083] Render data on a preset template page based on the target low-code data.
[0084] That is, since the target low-code data is code data, the configuration menu can be obtained by directly rendering it on the preset template page according to the target low-code data.
[0085] In some embodiments, it is also necessary to pre-create a preset database and a preset template page, including the following steps:
[0086] Preparation: Introduce a low-code plugin into the system and create a form menu or dashboard menu based on user needs. Alternatively, you can create a menu on a third-party platform and record the page URL. Low-code platform menu configurations may include different types of menus, such as form menus, dashboard menus, and third-party page menus. The following uses form menus and third-party page menus as examples to illustrate various menu configuration options.
[0087] Form pages and third-party page menus are distinguished by adding a layer of page types in the middle of the parameterized route. In this application, the form menu and third-party page menu each correspond to a preset template page in the code, and each preset template page corresponds to a configuration content in the routing address on the configuration page.
[0088] When creating a form page using the low-code form creation plugin, list data and filter query data are stored as key-value pairs in JSON strings. Each new form page generates a page code, and the form page content is stored in the form table as a JSON string along with the code. Each third-party page has a corresponding URL, such as https: / / www.baidu.html.
[0089] When configuring the menu, you need to enter the node ID and name when configuring the first-level menu. When configuring the second-level menu, the parent node ID (i.e. the first-level menu ID) will be automatically brought in. Select the menu type. If it is a form menu type, select the form code. If it is a large screen, enter the large screen address.
[0090] After the menu is configured, create a new tenant and assign a role menu. After the user logs in, they can see the menu corresponding to the current login account role.
[0091] Click the form name in the menu. The click event will obtain the second-level parameter in the routing address, that is, the form code. According to the form code, the corresponding form content stored in the JSON string is queried in the form table and returned to the front end. The front end parses the JSON string and displays the form template and data.
[0092] Click the name of the third-party page menu in the menu. The click event will obtain the second-level parameter in the routing address, that is, the page ID. According to the page ID query interface, the address of the third-party page is returned, and the third-party page menu is displayed using the iframe tag of the template page.
[0093] See also Figure 3 , is a device for automatically configuring a menu provided in an embodiment of the present application, such as Figure 3 As shown, the device includes:
[0094] The determining unit 301 is configured to respond to a menu configuration instruction;
[0095] Configuration unit 302 is used to select a target routing address according to a menu configuration instruction; select target low-code data in a preset database according to the target routing address and the menu configuration instruction, wherein the target routing address is a routing address where the target low-code data can be found, and the target low-code data is low-code data that can implement the menu configuration instruction; configure the menu according to the target low-code data.
[0096] As a possible implementation, the configuration unit 302 is specifically configured to select an ID parameter corresponding to the menu configuration instruction according to the menu configuration instruction; select a corresponding routing address according to the ID parameter, and use the routing address corresponding to the ID parameter as the target routing address.
[0097] As a possible implementation method, the configuration unit 302 is specifically used to obtain target low-code data from at least one low-code data in a preset database according to the routing address and menu configuration instructions, wherein all low-code data in the preset database correspond to the ID parameters of all routing addresses.
[0098] As a possible implementation method, the configuration unit 302 is specifically used to obtain low-code data corresponding to the ID parameter of the routing address from at least one low-code data, and use the low-code data corresponding to the ID parameter of the routing address as the target low-code data.
[0099] As a possible implementation method, the configuration unit 302 is specifically used to select a preset sub-database according to the ID parameter corresponding to the menu configuration instruction, and select the target low-code data from the preset sub-database.
[0100] As a possible implementation method, the configuration unit 302 is specifically used to render data on a preset template page based on the target low-code data.
[0101] Corresponding to the above embodiments, the present application also provides an electronic device. Figure 4 This is a schematic diagram of the structure of an electronic device provided in an embodiment of the present invention. The electronic device 400 may include: a processor 401, a memory 402, and a communication unit 403. These components communicate via one or more buses. Those skilled in the art will understand that the structure of the electronic device shown in the figure does not constitute a limitation on the embodiments of the present invention. It can be a bus structure or a star structure, and can also include more or fewer components than shown, or combine certain components, or arrange the components differently.
[0102] The communication unit 403 is configured to establish a communication channel so that the electronic device can communicate with other devices, receive user data sent by other devices, or send user data to other devices.
[0103] The processor 401 is the control center of the electronic device. It uses various interfaces and lines to connect various parts of the entire electronic device. It runs or executes software programs and / or modules stored in the memory 402, and calls data stored in the memory to perform various functions of the electronic device and / or process data. The processor can be composed of an integrated circuit (IC), for example, it can be composed of a single packaged IC, or it can be composed of multiple packaged ICs with the same or different functions. For example, the processor 401 can only include a central processing unit (CPU). In an embodiment of the present invention, the CPU can be a single computing core or multiple computing cores.
[0104] The memory 402 is used to store execution instructions of the processor 401. The memory 402 can be implemented by any type of volatile or non-volatile storage device or a combination thereof, such as static random access memory (SRAM), electrically erasable programmable read-only memory (EEPROM), erasable programmable read-only memory (EPROM), programmable read-only memory (PROM), read-only memory (ROM), magnetic memory, flash memory, magnetic disk or optical disk.
[0105] When the execution instructions in the memory 402 are executed by the processor 401, the electronic device 400 can execute Figure 1 Some or all of the steps in the illustrated embodiments.
[0106] In a specific implementation, the present invention further provides a computer storage medium, wherein the computer storage medium may store a program that, when executed, may include some or all of the steps of each embodiment of the method for automatically configuring a menu provided by the present invention. The storage medium may be a magnetic disk, an optical disk, a read-only memory (ROM), or a random access memory (RAM).
[0107] Those skilled in the art will clearly understand that the techniques in the embodiments of the present invention can be implemented using software and a necessary general-purpose hardware platform. Based on this understanding, the technical solutions in the embodiments of the present invention, or the portion that contributes to the prior art, can be embodied in the form of a software product. This computer software product can be stored in a storage medium such as ROM / RAM, a magnetic disk, or an optical disk, and includes instructions for enabling a computer device (such as a personal computer, server, or network device) to execute the methods described in various embodiments of the present invention, or portions thereof.
[0108] In this specification, reference can be made to the same or similar parts between the various embodiments. In particular, for the device embodiment and the terminal embodiment, since they are basically similar to the method embodiment, the description is relatively simple, and the relevant parts can be referred to the description in the method embodiment.
Claims
1. A method for automatically configuring a menu, characterized in that: The steps include: responding to menu configuration instructions; Select a target routing address according to the menu configuration instructions; According to the target routing address and the menu configuration instruction, target low-code data is selected in a preset database, wherein the target routing address is a routing address where the target low-code data can be found, and the target low-code data is low-code data that can implement the menu configuration instruction; Configure the menu based on the target low-code data; The routing address includes an ID parameter, and the ID parameter corresponds to a menu configuration instruction; The selecting a target routing address according to the menu configuration instruction includes: According to the menu configuration instruction, selecting the ID parameter corresponding to the menu configuration instruction; Selecting a corresponding routing address according to the ID parameter, and using the routing address corresponding to the ID parameter as the target routing address; The preset database includes multiple preset sub-databases, each preset sub-database corresponds to a different ID parameter; The selecting target low-code data in a preset database according to the target routing address and the menu configuration instruction includes: According to the ID parameter corresponding to the menu configuration instruction, a preset sub-database is selected, and target low-code data is selected from the preset sub-database; To ensure the implementation of the automatic configuration menu method, it includes at least a preset database, which pre-stores multiple low-code data. Different low-code data are used to implement the configuration of different menus; and each low-code data corresponds to a routing address. The routing address is directly stored in the preset database in the form of a directory, or stored separately in a routing address table. Each routing address corresponds to a menu configuration instruction.
2. The method for automatically configuring a menu according to claim 1, wherein: The selecting target low-code data in a preset database according to the target routing address and the menu configuration instruction includes: According to the routing address and the menu configuration instruction, target low-code data is obtained from at least one low-code data in a preset database, wherein all low-code data in the preset database correspond to the ID parameters of all the routing addresses.
3. The method for automatically configuring a menu according to claim 2, wherein: The acquiring target low-code data from at least one low-code data includes: From at least one low-code data, obtain the low-code data corresponding to the ID parameter of the routing address, and use the low-code data corresponding to the ID parameter of the routing address as the target low-code data.
4. The method for automatically configuring a menu according to claim 1, wherein: The configuration menu according to the target low-code data includes: Based on the target low-code data, render the data on a preset template page.
5. A device for automatically configuring a menu, executing the method for automatically configuring a menu according to claim 1, characterized in that: include: a determining unit, configured to respond to a menu configuration instruction; A configuration unit, configured to select a target routing address according to the menu configuration instruction; According to the target routing address and the menu configuration instruction, target low-code data is selected in a preset database, wherein the target routing address is a routing address where the target low-code data can be found, and the target low-code data is low-code data that can implement the menu configuration instruction; and a menu is configured according to the target low-code data; The routing address includes an ID parameter, and the ID parameter corresponds to a menu configuration instruction; The selecting a target routing address according to the menu configuration instruction includes: According to the menu configuration instruction, selecting the ID parameter corresponding to the menu configuration instruction; Selecting a corresponding routing address according to the ID parameter, and using the routing address corresponding to the ID parameter as the target routing address; The preset database includes multiple preset sub-databases, each preset sub-database corresponds to a different ID parameter; The selecting target low-code data in a preset database according to the target routing address and the menu configuration instruction includes: According to the ID parameter corresponding to the menu configuration instruction, select the preset sub-database and select the target low-code data from the preset sub-database.
6. An electronic device, characterized in that: The electronic device comprises a memory for storing computer program instructions and a processor for executing the program instructions, wherein when the computer program instructions are executed by the processor, the electronic device is triggered to execute the method according to any one of claims 1 to 4.
7. A computer-readable storage medium, characterized in that The computer-readable storage medium includes a stored program, wherein when the program is executed, the device where the computer-readable storage medium is located is controlled to execute the method according to any one of claims 1 to 4.
Citation Information
Patent Citations
Menu configuration and display method and device, electronic equipment and storage medium
CN117667094A
Operation method and deployment method for generating webpage at low-code end and storage medium
CN118192957A