Set set, Map set

catalogue 1, Set set 1. Operation method 2.set case II. Map() set 1. Operation method 2. Traversal of map() (1)for...of implementation traversal (2) forEach() traversal 1, Set set Set: a data structure similar to an array without duplicate values. Mainly used for Array de duplication , string de duplication. 1. Operation method ...

Posted by nemesis.2002 on Thu, 10 Mar 2022 16:47:01 +0100

Home page - article list

Home page - article list # 1. Page layout # 1.1 head navigation bar 1. Using the navigation bar component 2. Insert button in navigation bar component textIcon 3. Style adjustment Width and heightBackground colorframeText sizeIcon size <template> <div class="home-container"> <!-- navigation bar --> <van-na ...

Posted by ryans18 on Thu, 10 Mar 2022 15:08:00 +0100

Package of axios in vue in front end?

catalogue 1, Packaging of axios Set request timeout Setting of post request header Request interception Interception of response Encapsulate get method and post method The encapsulation of axios is basically completed. Let's briefly talk about the unified management of api. to update 1, Packaging of axios In the vue project, ...

Posted by iBuddy on Thu, 10 Mar 2022 12:18:00 +0100

Google zx scaffold module Chinese document

Google zx scaffold module Chinese document zx is a new star project on the 2021 gibhub. It allows us to easily use JavaScript / TypeScript (which contains TypeScript type declaration) instead of bash to build command-line scripts. The script provides convenience for those who master the front-end development to build a scaffold. Recently, ...

Posted by russthebarber on Thu, 10 Mar 2022 11:29:35 +0100

Wechat applet upload file

Wechat applet upload file 1, Explain The photographing component has the function of wechat authorized camera and will transfer the uploaded pictures to the parent page in the form of array collection in combination with the back-end interface. Note: the component is suitable for uploading pictures separately without carrying parameters. Afte ...

Posted by red-x on Thu, 10 Mar 2022 10:29:17 +0100

Ultra detailed Vue coderwhy personal learning notes (Day1-Day2)

Must see Summary of note catalogue and acquisition of data source code It's enough to learn Vue - Summary of Vue's personal learning notes (including data code and project address) This is a note from Day1 to Day2 If you feel good, you can give me three links Oh ~ welcome to study and exchange, my official account: richGirlyyy) catal ...

Posted by elle_girl on Thu, 10 Mar 2022 06:04:27 +0100

JavaScript regular expression

Introduction to regular expressions Definition: regular expressions are used to define the rules of some strings. Function: the computer can check whether a string conforms to the specified rules according to the regular expression; Or extract the content that conforms to the rules in the string. Create regular expression objects Method 1: ...

Posted by oolongdavies on Thu, 10 Mar 2022 05:46:48 +0100

Pipeline data flow for program design optimization

abstractComputer based students are probably familiar with the word pipeline. Especially in Linux system, pipeline operator has been widely used and has brought great convenience to our transformation. The scaffold "gulp" noted in the front-end field is also famous for its pipeline operation.Today, let's take a step-by-step look at ho ...

Posted by programguru on Thu, 10 Mar 2022 03:47:02 +0100

JavaScript basic syntax

JavaScript operator reference material: Priority of operators in JavaScript Operator (priority from high to low)describe[] ()Field access, array subscripts, function calls, and expression grouping++ -- - ~ ! delete new typeof voidUnary operator, return data type, object creation, undefined value* / %Multiplication, division, modulo+ - +Addit ...

Posted by ziesje on Thu, 10 Mar 2022 03:09:11 +0100

vuex study notes

Vuex overview What is Vuex Vuex is a mechanism to manage the global state (data) of components. It can easily realize data sharing between components (use store to manage global objects) How data is shared between components Parent to child value: v-bind attribute binding Child to parent value: v-on event binding Data sharing between sibli ...

Posted by scrap0346 on Thu, 10 Mar 2022 01:38:55 +0100