Modify the upload component of element to support multiple files to be uploaded at one time

Modify the upload component of element to support multiple files to be uploaded at one timeThe Upload component in Element should be a component we often use. It is usually used for some file Upload operations. However, although the corresponding demo can support the selective Upload of multiple files, each file Upload calls an interface, which ...

Posted by rajeevbharti on Mon, 24 Jan 2022 05:02:00 +0100

Basic learning of CSS -- element display mode & background

Learning content 1. Element display mode of CSS 1.1 what is the element display mode The element display mode is how elements (labels) are displayed. For example, < div > occupies one line. For example, multiple < span > can be placed in one line. HTML elements are generally divided into two types: block elements and inline elem ...

Posted by tmaiden on Mon, 24 Jan 2022 02:26:46 +0100

Technology sharing | how to make thousands of containers "survive" at the same time

Recently, I received a request that users can apply to create one or more docker containers. The containers should always exist, users can access them no matter how long it takes, and the data generated by users always exists. In other words, we should achieve container persistence, that is, we should provide a small server, However, over time, ...

Posted by JasonO on Mon, 24 Jan 2022 02:04:07 +0100

Function and functional programming

From: Micro reading https://www.weidianyuedu.com/content/4317415636514.html Throughout all the key knowledge that must be mastered in JavaScript, function is the most easily ignored knowledge point when we first learn. Many people and articles may tell you that object-oriented is very important and prototype is very important, but few people ...

Posted by hypedupdawg on Sun, 23 Jan 2022 23:05:57 +0100

react + taro + dva to realize pull-up loading

The final code is at the end Basic structure The main body adopts the scrollView component of taro and sets a fixed height for it to make its sliding effective. An onScrollToLower event is configured to trigger the bottom event. Drop down scroll component import React from "react"; import { ScrollView } from "@tarojs/components"; import { ...

Posted by Jalz on Sun, 23 Jan 2022 22:16:12 +0100

The difference between var, let and const

ES6: the difference between VaR, let and const 1, var In ES5, the attributes of top-level objects are equivalent to global variables. Variables declared with var are both global variables and top-level variables Note: top level objects refer to window objects in browser environment and global objects in Node environment var a = 10; consol ...

Posted by esfisher on Sun, 23 Jan 2022 20:54:43 +0100

jest unit test - Fundamentals

jest test - Basic 1, Understanding front-end automation With the development of front-end, the field of front-end design has become more and more complex. This puts forward higher requirements for our front-end engineering ability. Good front-end engineering generally includes three aspects: Front end automated testing (prerequisites)High qu ...

Posted by ConnorSBB on Sun, 23 Jan 2022 18:48:28 +0100

Study vue notes

catalogue First meet vue vue template syntax class 2 Data binding Two ways of writing data and el MVVM model Event object Keyboard events Basic use of events Name Case Weather case Monitoring properties Depth monitoring watch vs. computer Bind class style Bind style conditional rendering List rendering Function and principle ...

Posted by sajidfiaz on Sun, 23 Jan 2022 18:03:34 +0100

ES6 object new extension

ES6: object new extension 1, Attribute abbreviation In ES6, when the object key name is equal to the corresponding value name, it can be abbreviated const baz = {foo:foo} // Equivalent to const baz = {foo} Methods can also be abbreviated const o = { method() { return "Hello!"; } }; // Equivalent to const o = { method: funct ...

Posted by karimali831 on Sun, 23 Jan 2022 17:38:12 +0100

Java Web -- what is Session and its usage

1. What is a Session When a user requests a Web page from an application, the server will create a Session object for each user (browser); When the user data needs to be saved, the server program can write the user data to the session exclusive to the user browser; When a user jumps between Web pages of an application, the variables stored in ...

Posted by chings on Sun, 23 Jan 2022 16:11:01 +0100