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

Analysis of the problem that the custom interceptor cannot intercept zuul requests

1 process 1. Create a custom interceptor class MyInterceptor   2. Register interceptor @Configuration public class WebConf extends WebMvcConfigurerAdapter { @Autowired MyInterceptor myInterceptor; @Override public void addInterceptors(InterceptorRegistry registry) { ...

Added by pramodv on Sun, 14 Jun 2020 08:19:44 +0300

Implementation principle of lazy loading

When we browse e-commerce websites, there are so many pictures of goods, so the pressure of loading so many picture servers is great, which not only affects rendering speed, but also wastes broadband. In order to solve this problem and improve the client experience, there is a lazy loading mode to redu ...

Added by big-dog1965 on Sat, 13 Jun 2020 11:09:34 +0300

Bottom principles of iOS - bottom principles of GCD

1. Introduction 1. What is GCD? The full name is Grand Central Dispatch Pure C language provides many powerful functions 2. Advantages of GCD GCD is Apple's solution for multi-core parallel computing GCD will automatically utilize more CPU cores (such as dual core and quad core) GCD automatical ...

Added by anushka on Sat, 13 Jun 2020 10:46:25 +0300

Python 3 web crawler: Comics downloading, dynamic loading, and anti crawler are nothing

    1, Foreword By Jack Cui After the learning of the last two articles, Python crawler takes three steps: request initiation, data parsing and data saving. Have you mastered them? Are they entry-level crawlers? No, it's not enough! Only mastering these skills can only be regarded as layman level. Today, let's continue to learn how to clim ...

Added by cshaw on Thu, 11 Jun 2020 10:01:27 +0300

Asynchronous requests in Guzzle

Use Guzzle to make asynchronous requests Guzzle is a PHP HTTP client. It can not only initiate HTTP requests synchronously, but also asynchronously. $client = new Client(); $request = new Request('GET', 'http://www.baidu.com'); $promise = $client->sendAsync($request)->then(function ($response) { echo $response->getBody(); }); // t ...

Added by estan on Thu, 11 Jun 2020 08:41:35 +0300

Summary of JS important knowledge points (unfinished)

Summary of JS important knowledge points 1. Four ways to query data types Implementation method typeof instanceof constructor Object.prototype.toString.call() advantage Easy to use Can detect reference data types Basic ability to detect all types (except null and undefined) All types detected ...

Added by jcanker on Thu, 11 Jun 2020 08:26:56 +0300

As long as you log a lot, locate a BUG shuttle

The complete code covered in this article: GITEE Or visit: https://gitee.com/topanda/spring-boot-security-quickly-start/tree/jpanda-spring-boot-security-api/src/main/java/cn/jpanda/demo/manager/configuration/log It is hard to avoid bugs when you write too much code. As a programmer who has been walking all year, it is not a rare thing to talk ...

Added by deejay1111 on Wed, 10 Jun 2020 06:50:17 +0300

JS Event Processing Details

An event is an action of a user, and event handling is a function that handles that action.In this section, let's look at event handling in JS. Article Directory Three ways to add event handling Add in line Label Attribute Add Add Event Listening Focus Events Click and double click events Mouse even ...

Added by Grim... on Tue, 09 Jun 2020 19:10:37 +0300

CSS_ Necessary knowledge of back-end Engineer - from entry to detailed explanation of dissuasion - painstaking writing (funny)

Article catalog 1, CSS introduction 2, Grammatical format 3, How to use CSS 1. Embedded 2. Outer chain 3. Line style 4. Three style priorities and application scenarios 4, Selector 1. Basic selector 1. All tuple selection 2. Label selector 3. id selector 4. Class selector 5. Overall operation cod ...

Added by rsnell on Tue, 09 Jun 2020 05:00:57 +0300