Vue asynchronous update mechanism and $nextTick principle

I believe many people will be curious about Vue's internal update mechanism, or some strange problems encountered in daily work need to be solved by using $nextTick. Today, let's talk about Vue's asynchronous update mechanism and the principle of $nextTick Asynchronous update of Vue You may not have noticed that Vue performs DOM updates asynch ...

Posted by Denholm on Sun, 24 Apr 2022 07:11:52 +0300

Java project: enterprise personnel system (java+SpringBoot+Vue+ElementUI+maven+mysql)

Source code acquisition: download from "resources" on the blog home page! Project introduction The functions of the personnel management system include six modules: personnel communication, employee information, personnel evaluation, rewards and punishments, training management, salary management, statistical analysis, and system ...

Posted by clarencek on Sat, 23 Apr 2022 10:15:17 +0300

Vue3 custom instruction: ClickOutside (click a location outside the current area)

Hello, everyone. I'm SuperYing. Today, we are talking about a Vue3 user-defined instruction - ClickOutside. As the name suggests, it deals with the scene of clicking on a location outside the current area. Vue instruction First, let's review the knowledge points related to the Vue instruction. brief introduction The Vue instruction is a spe ...

Posted by Trium918 on Tue, 19 Apr 2022 17:17:20 +0300

Community property management system based on springboot+vue

Project background With the rapid development of science and technology, all walks of life are trying to integrate with modern advanced technology and improve their own advantages through scientific and technological means; Of course, the community property management system cannot be excluded. With the continuous maturity of network technolog ...

Posted by ErnesTo on Mon, 18 Apr 2022 08:20:12 +0300

vue component, non single file component, single file component, inter component operation (note)

1. Components and modules 1.1 module If the code in a js file, many are very complexModules can be used to store different js files in different logical segments and import them into a main fileIt simplifies the writing of code and improves the reuse of code 1.2 components To achieve the effect of a function, a collection of codesThe co ...

Posted by saeeddeep on Mon, 18 Apr 2022 04:28:16 +0300

step-07 asynchronous data II

The previous two methods of client data prefetching are described. In one case, when components are reused (/ foo/1 to / foo/2), the life cycle of the same routing component will not run, and the data will not be updated, which needs to be processed separately. There is a beforeRouteUpdate in the Vue router navigation guard, which will be calle ...

Posted by dwardio on Sun, 17 Apr 2022 22:57:11 +0300

Vue -- detailed explanation of Modules in vuex

  preface In Vue, the state uses a single state tree structure, and all States should be placed in the state. If the project is complex, the state is a large object, and the store object will become very large and difficult to manage. So there is another core concept modules in Vuex. This article will summarize the relevant knowledge points of ...

Posted by LanHorizon on Sat, 16 Apr 2022 12:36:26 +0300

Vue + element UI for skin change

My environment @vue/cli 4.5.8 node - v10.15.0 npm - 6.4.1 Idea: vue project has two parts to realize skin change 1, Self style skin change This part of skin change has been posted on the Internet in a variety of ways. I won't say much here. If you see people here, you must have seen a lot of posts Tell me what I think Considering the on ...

Posted by amyhughes on Sat, 16 Apr 2022 01:47:02 +0300

Vue common instructions

I vue instruction Official website explanation Directives are a special feature with a {v-prefix. The value of the instruction attribute is expected to be a single JavaScript expression (v-for # is the exception). When the value of an expression changes, the function of the instruction is to apply its associated influence to the DOM responsivel ...

Posted by rvdb86 on Sat, 16 Apr 2022 00:14:54 +0300

ECharts Practice Manual

Content summary Basic use of ECharts Ecarts common charts Common configuration of rectangular coordinate system Summary of ECharts configuration items ECharts advanced 1. Basic use of echarts 1.1 introduction to echarts ECharts can make all kinds of beautiful charts, which can meet the implementation of most visual charts With strong c ...

Posted by DiscoTrio on Fri, 15 Apr 2022 22:56:12 +0300