Looking for breakthrough ideas for innovation challenges? Try Patsnap Eureka!

Keyword query method and device in vue framework, computer equipment and medium

A technology of computer equipment and query methods, which is applied in computing, other database queries, electrical digital data processing, etc., can solve problems such as the inability to meet the real-time query requirements of keywords, achieve real-time query, and improve the query speed.

Pending Publication Date: 2021-10-22
挂号网(杭州)科技有限公司
View PDF0 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0004] The embodiment of the present invention provides a keyword query method, device, computer equipment and media in the vue framework, which solves the problem that the keyword query method in the existing vue framework cannot meet the real-time keyword query requirements

Method used

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
View more

Image

Smart Image Click on the blue labels to locate them in the text.
Viewing Examples
Smart Image
  • Keyword query method and device in vue framework, computer equipment and medium
  • Keyword query method and device in vue framework, computer equipment and medium
  • Keyword query method and device in vue framework, computer equipment and medium

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0025] figure 1 It is a flow chart of the keyword query method in the vue framework provided by Embodiment 1 of the present invention. The technical solution of this embodiment is suitable for reducing the time when a keyword query is detected by completing the extraction and storage of the location information of the attributes and / or methods of all preset keywords in the current vue file before the keyword query request is detected. The query operation after the request, so as to improve the speed of keyword query and the user experience. The method can be executed by the keyword query device in the vue framework provided by the embodiment of the present invention, and the device can be implemented in the form of software and / or hardware, and configured to be applied in a processor of a computer device. The method specifically includes the following steps:

[0026] S101. Obtain the location information of attributes and / or methods of all preset keywords in the current vue ...

Embodiment 2

[0039] figure 2 It is a flow chart of the keyword query method in the vue framework provided by Embodiment 2 of the present invention. On the basis of the above-mentioned embodiments, the embodiment of the present invention adds a step of searching keywords in the files referenced by the mixns module.

[0040] Correspondingly, the method of this embodiment includes:

[0041] S201. Obtain the location information of attributes and / or methods of all preset keywords in the current vue file, and store the location information of attributes and / or methods of all preset keywords in the first preset of the public storage space Spatial location.

[0042] S202. If the current vue file introduces the mixins module, obtain the location information of the properties and / or methods of all preset keywords in the file referenced by the mixns module, and store the properties and / or methods of all preset keywords The location information is stored in a second preset location in the public ...

Embodiment 3

[0052] image 3 It is a structural block diagram of the keyword query device in the vue framework provided by the embodiment of the present invention. The device is used to execute the keyword query method in the vue framework provided by any of the above embodiments, and the device can be implemented by software or hardware. The unit includes:

[0053] The first obtaining module 11 is used to obtain the location information of attributes and / or methods of all preset keywords in the current vue file, and store the location information of attributes and / or methods of all preset keywords in a public storage the first preset spatial position of the space;

[0054] The first query module 12 is used to determine whether the keyword corresponding to the keyword query request is stored in the first preset space position when a keyword query request is detected, and if so, jump to the keyword The corresponding properties and / or methods.

[0055] Optionally, as in Figure 4 As sho...

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

PUM

No PUM Login to View More

Abstract

The embodiment of the invention discloses a keyword query method and device in a vue framework, computer equipment and a medium, and the method comprises the steps: obtaining the attributes of all preset keywords in a current vue file and / or the position information of the method, storing the attributes of all the preset keywords and / or the position information of the methods in a first preset space position of a public storage space; and when a keyword query request is detected, determining whether a keyword corresponding to the keyword query request is stored in the first preset spatial position, and if yes, skipping to an attribute and / or a method corresponding to the keyword. The problem that an existing keyword query method in the vue framework cannot meet the keyword real-time query requirement is solved.

Description

technical field [0001] The embodiment of the present invention relates to the field of software programs, and in particular to a keyword query method, device, computer equipment and media in a vue framework. Background technique [0002] The keyword query method in the existing vue framework obtains the keyword when a keyword query request is detected, and then determines whether the keyword comes from an external import file, and if so, searches for the keyword in the external import file, and in When the keyword is queried, jump to the first line of the corresponding file. If not, search for the keyword in the vue file, and jump to the corresponding location after finding it. The external import file is a reference to the vue file document. [0003] It can be seen that the keyword query method in the existing Vue framework has a long query chain after detecting a keyword query request, and it is difficult to meet the needs of real-time keyword query. Contents of the inv...

Claims

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

Application Information

Patent Timeline
no application Login to View More
IPC IPC(8): G06F16/9035G06F16/903G06F16/901
CPCG06F16/9035G06F16/90335G06F16/901
Inventor 陈建波王君
Owner 挂号网(杭州)科技有限公司
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Patsnap Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Patsnap Eureka Blog
Learn More
PatSnap group products