The details page returns to the current position of the list page

Using keepAlive stay app.vue Two in Chinese <keep-alive> <! -- view components that need to be cached -- > <router-view v-if="$route.meta.keepAlive"> </router-view> </keep-alive> <! -- view components that do not require caching -- > <router-view v-if="!$ ...

Added by aouriques on Tue, 30 Jun 2020 07:37:12 +0300

With all due respect, you may not be able to use java Part 7: sorting collections like SQL

Before I start, let me ask you a question: we now have an Employee class. @Data @AllArgsConstructor public class Employee { private Integer id; private Integer age; //Age private String gender; //Gender private String firstName; private String lastName; } Do you know how to sort a List set of Employee objects in reverse or ...

Added by mjh513 on Sun, 28 Jun 2020 03:41:37 +0300

How to Design a Privilege Authorization Service in Microservices

Role-based access control (RBAC) One way to restrict system access to authorized users is to define policy-independent access control mechanisms around roles and privileges, and the components of RBAC make it easy to perform user assignments. Within the organization, various jobs will be created role .Permissions to perform certain actions ha ...

Added by fordyh on Fri, 26 Jun 2020 04:14:55 +0300

nextTick's practice in the project

preface In a project, it is often necessary to display data at the view level immediately. Sometimes, because of asynchronous data transfer, the page will not be displayed immediately on the page. In this case, you need to use the nextTick method provided by Vue. The main reason is that Vue's data vi ...

Added by ivki on Thu, 25 Jun 2020 14:18:22 +0300

Vue performance optimization method

The examples are from https://www.youtube.com/watch?v=5B66qer8cZo Partially reproduced in link: https://www.jianshu.com/p/f372d0e3de80 Functional components Because the life cycle processing of components is very time-consuming at the framework level, it is recommended to use functional components ...

Added by coditoergosum on Mon, 22 Jun 2020 10:53:47 +0300

Touch and take you to understand Vue's responsive principle

preface As the core of Vue, responsive principle uses data hijacking to realize data-driven view. In the interview is often examined knowledge points, but also interview bonus items. This paper will analyze the workflow of response principle step by step, mainly in the following structure: Analyze key members and understand them to help unders ...

Added by chanchelkumar on Mon, 22 Jun 2020 06:07:29 +0300

Building guide of vuePress blog

Building guide of vuePress blog node environment and npm support required If npm will not be installed, go to: Installation instructions Overview of vuePress Static website generator driven by Vue Generating web pages based on markdown syntax Customizable and extensible styles Can be published to gi ...

Added by irandoct on Sun, 21 Jun 2020 12:49:03 +0300

Take you 10 days to be proficient in the vue framework and realize data request through axios

4. Data request through axios vue.js ajax is not available by default. So when using vue, we usually use axios plug-in to realize the data interaction between ajax and back-end server. Note that axios are essentially ajax encapsulation of javascript, so they are limited by the same origin policy. plug ...

Added by akelavlk on Thu, 18 Jun 2020 10:59:19 +0300

vue (11): route parameters, route nesting, route naming view

Route parameters Routing parameters are divided into two categories: url parameters and to parameters in < router link > tags url reference 1. query parameters <div id="app"> <router-link to="/login?id=10&name='Ha ha ha'">Sign in</router-link> <router-link to="/registe ...

Added by SuperCam on Mon, 15 Jun 2020 04:54:59 +0300

Epidemic map data display platform

Epidemic data map display The realization of Chinese map First look at the renderings. The whole project is completed under the vue framework. After the routing configuration is completed, you can start the map display part. Here I will only show the domestic epidemic part, which I have completed in ...

Added by paulspoon on Sun, 14 Jun 2020 12:26:34 +0300