Knowledge about Date objects

Differences between basic data types and complex data types concept Basic data type: during storage, the value itself is stored in the variable, so it is also called value type. Complex data type: during storage, the address (Reference) is stored in the variable, so it is also called reference type. assignment The basic data type assigns t ...

Posted by PHPiSean on Sat, 06 Nov 2021 15:14:54 +0100

Vue basic self inspection - conditional rendering and list rendering

What is the difference between v-if and v-show? Why can't v-if and v-for be used together? What is the role of key in v-for? 1 v-if and v-show 1.1 function Are used to control the display and hiding of elements 1.2 control how elements are displayed and hidden v-if controls the creation and destruction of elements on the virtual DOM tree. Vu ...

Posted by bryanptcs on Sat, 06 Nov 2021 04:28:53 +0100

Maynor teaches you to complete a SPA commodity management system implemented by SpringBoot+Vue+Element (add, delete, modify and check)

Maynor teaches you to complete a SPA commodity management system implemented by SpringBoot+Vue+Element (add, delete, modify and check) preface I will get the complete code by private mail after three links~ I have completed the SPA commodity management system all morning. Please connect three times! Station B demo video Maynor ...

Posted by Snart on Fri, 05 Nov 2021 04:36:10 +0100

The first article written by Bai front-end -- about the use of var and let

1. The difference between VaR and let (1) The most obvious difference between. var and let is the scope; The scope declared by let is the block scope, while the scope declared by var is the function scope. A variable defined using the var operator becomes a local variable of the function containing it. For example, using var to define a vari ...

Posted by smsulliva on Fri, 05 Nov 2021 02:35:02 +0100

Leading plan Day003Html

Media elements and forms 1. Media elements 1-1. Picture image abbreviation empty element <!--src Picture address (absolute or relative path) source--> <!--alt Picture alternative text--> <!--title Mouse hover text--> <!--width height Width and height of the picture--> <!--usemap The Image Map element Operate o ...

Posted by johnnyk on Thu, 04 Nov 2021 23:46:18 +0100

css quick start tutorial

preface   before you start, let's explain: This article only involves basic CSS knowledge. If there are students who do front-end development, you can skip it. This article is aimed at students who just get started and turn to front-end development from other directions. As we all know, CSS is not a programming language. Its learning in t ...

Posted by OhLordy on Thu, 04 Nov 2021 15:14:27 +0100

axios uses promise to refresh the token and retry the failed interface

In project development, we often encounter the problem of token failure and unable to request data when requesting data. In case of such problems, the general processing method is to jump to the login page and log in again to obtain the token. If you ignore the user's mood, it's not impossible to deal with it in this way. But this is not the ef ...

Posted by alpha2zee on Thu, 04 Nov 2021 13:28:23 +0100

Vue3.x changes in components (required for front-end development)

1, Why is data in a component always in the form of a function? We try to make a counter case first and change the return form of data into an object. The specific codes are as follows: <template> <div> <button @click="num++">+</button> {{num}} <button @click="num--">-</button> </div> </te ...

Posted by Hisakata on Thu, 04 Nov 2021 08:17:54 +0100

Notification desktop notification best practices

Notification notification best practicesSecurity context: this feature is only available in Security context (HTTPS), some Supported browsers.Notifications API The notification interface is used to configure and display desktop notifications to users.Online exampleSee code at the end of the textConstruction methodlet notification = new Notifica ...

Posted by kr9091 on Thu, 04 Nov 2021 08:13:20 +0100

This time, solve the various pain points of fluent dialog!

prefaceQ: What's the most smelly thing you've ever smelled in your life?A: My rotten dream.Brother Meng!!! I'm here again!This time, I can confidently say to you: I finally brought you a pub package that can really help you solve many pit ratio scenes!Put the previous shuttle_ smart_ Dialog, on the basis of maintaining the stability of the api, ...

Posted by noiseusse on Wed, 03 Nov 2021 03:33:33 +0100