Vue filter, custom instruction, ES6 string operation
Array method
The following methods will traverse each item in the array and perform related operations;
forEach: cannot be terminated
some: can be terminated by return true
Filter: can filter
findIndex: the index of the corresponding object can be found
Delete / add array elements after index:
Splice (index, howmany, i ...
Posted by bpat1434 on Mon, 27 Jan 2020 07:35:14 -0800
Python crawler: crawling Bilibili video (. m4s)
This article is for reference only:Bili Bili video capture
The video capture of station b is still relatively difficult. Compared with the video capture of other websites, it is also relatively difficult because of my curiosity and fear of death. I intend to analyze and analyze the video of station b. t ...
Posted by prcollin on Sun, 26 Jan 2020 03:43:16 -0800
Vue multi table case
Note: due to the large number of codes designed in this case, it is divided into two parts to upload. This article is the first part.
1. Preparation
1.1 database
# Create category table , Primary key, primary table(1surface)
CREATE TABLE t_category(
cid INT PRIMARY KEY AUTO_INCREMENT,
cname VARC ...
Posted by AL-Kateb on Sat, 25 Jan 2020 23:22:42 -0800
Notes and summary in Vue cli project
webpack summary
1. It's hard to avoid cross domain problems in front and back platform separation projects, which can be configured in devServer of webpack
devServer:{
proxy:{
"/api":{
target:"https://****. com "/ / address of data interface
changeOrigin:true, // Cross domain allowe ...
Posted by rkeppert on Sat, 25 Jan 2020 07:49:10 -0800
Paging component implemented by vue
/*
Use components:
<pagination></pagination>
The properties passed in the component are:
1. total: how many pieces of data are there: required parameters
2. prepage: how many optional parameters are displayed on one page. The default value is 2
3. Show page: how many optional parameters are displayed for the numbe ...
Posted by xyn on Sat, 25 Jan 2020 06:43:51 -0800
Vue entry notes
Vue learning notes
1. MVVM mode and the first Vue program
Learning course of java according to ecstasy
What is MVC?
MVC mode represents model view controller mode. This pattern is used for hierarchical development of applications.
Model - a model represents an object or JAVA POJO that accesses d ...
Posted by zipdisk on Thu, 23 Jan 2020 05:36:46 -0800
vue routing -- the most basic use steps, nested routing
Use steps of Vue router
1. Introduction
<script src="./vue-router.js"></script>
2. Install the plug-in (Vue. Use (plug-in object); / / some global components will be registered and properties will be attached to the VM or component object during the process.)
Vue.use(Router)
3. Create ro ...
Posted by phuggett on Mon, 20 Jan 2020 08:41:27 -0800
vue component classification
vue component classification
I. Introduction
The reason why I wrote this article is that I interviewed dozens of people as an interviewer some time ago. One of the questions is "what are the component classifications of vue? ", it's surprising that most people only answer global components ...
Posted by CBaZ on Sun, 19 Jan 2020 20:35:58 -0800
New Vue project based on @vue/cli 3.0
Write before:
The package name of the Vue command line tool has changed from vue-cli to @vue/cli, @vue/cli is version 3.x of vue, and the maximum version of vue-cli is currently only @2.9.6.If you have previously installed vue-cli globally on your computer, you need to uninstall it first by executing NPM uninstall vue-cli ...
Posted by ravnen on Sun, 19 Jan 2020 08:21:54 -0800
2020 zero base to rapid development of Vue, Quantong, e-commerce management system (element UI) [assign authority]
Article directory
1, introduction
2. Assign permissions
2.1 pop up the assign permission dialog box and request permission data
2.2 initial configuration and use of El tree tree control
2.3 optimize the display effect of tree control
2.4 analyze the implementation idea of default checking of existin ...
Posted by joey3002 on Sun, 19 Jan 2020 04:17:09 -0800