Notes js asynchronous download file

Previously, because of laziness, the download of asynchronous requests was written directly in the a tag, and the request permission let the backend make special processing judgment, like this <a href="getRequestUrl">Click to download</a> Now I don't think it's very good. One is that the back-end permission needs to be judged separa ...

Posted by neon on Thu, 31 Oct 2019 07:03:22 -0700

Nuxt.js + Axios + element UI project construction, and submit the project to Gitee

Article directory Create nuxt.js project nuxt.js directory structure Integrate element UI and Axios Add: push local projects to Gitee Create nuxt.js project Install Vue cli npm install -g vue-cli --registry=https://registry.npm.taobao.org Execute under project directory vue init nuxt/starter &l ...

Posted by TheHaloEffect on Wed, 30 Oct 2019 10:02:24 -0700

Background management system constructed by React family bucket + material UI

I. Introduction A later management center built with React router DOM, Redux, Redux actions, Redux saga, reselect + material UI. II. Appendix+1. [online experience] (https://simpleroom.github.io): Account: < code > admin < / code > password: < code > 123456 < / code >+2. [source address: https://github.com/SimpleRoom/w ...

Posted by andrewburgess on Tue, 29 Oct 2019 03:43:55 -0700

Vue practice - menu bar, commodity display data interaction

In the previous part, we completed the menu bar and commodity display structure, and this time we access data for these two parts. Menu bar access data Import components and define the required data format <script> // Import BScroll components import BScroll from "better-scroll"; // Import Food product page import Food from "components/F ...

Posted by compound_eye on Mon, 28 Oct 2019 13:34:01 -0700

upload component encapsulation of element UI

Picture upload No matter what project, it's probably necessary to upload pictures. As a common requirement, it will be used in many places. An upload component should be packaged separately to facilitate reuse. Here, use Vue + element UI upload + qiniu cloud to finish the upload Front end calls qinniu API At present, the mainstream upload metho ...

Posted by dgs on Sun, 27 Oct 2019 09:05:40 -0700

The attempt of Vue+Node+Express+MySql

Preface This is a very simple attempt. The original intention is to replace PHP with nodejs and build a complete web project. Project logic vue develops the front-end, and is still in the dev mode. It uses proxy proxy proxy to communicate with the node back-end.node+express builds back-end web services, connects to mysql, and performs addition, ...

Posted by ShootingBlanks on Fri, 25 Oct 2019 14:14:02 -0700

Vue-CLI3.0 project construction process Series IV: axios application in the project

Now let's talk about the request method in the project - axios Insert (from netizen): storage token suggests state+localStorageBecause state is a single page, you don't need to log in to open the second web page for the same browser, so you need to use cookies or localstorage. Why not use cookies: 1 ...

Posted by rortelli on Tue, 22 Oct 2019 09:59:20 -0700

Solve the problem of null session caused by the front end cross domain access session ID inconsistency caused by the separation of front end and back end projects of vue+springboot.

Problem: the front-end cross domain access to the back-end interface does not carry cookie s by default under the browser's security policy, so each request opens a new session. When we print the sessionID in the background, we will find that the sessionID of each request is different. Since each request is a new session, it is naturally null ...

Posted by robotta1530 on Mon, 21 Oct 2019 09:12:28 -0700

vue dynamic form

According to the requirement of the project, the data should be returned according to the background interface, and the form content should be added dynamically.   Description: This component is based on Ant Design of Vue   Six form controls are currently supported: Text Input, Text Area, Select Input, Select Multiple, Data Picker, and Data ...

Posted by aalmos on Sun, 13 Oct 2019 10:09:55 -0700

vue sends ajax requests

1. vue-resource 1, introduction A Vue plug-in for processing ajax requests is widely used in vue1.x and is not maintained. 2. Use process step1: installation [Command Line Input] npm install vue-resource --save Step 2: Introduction [main.js] // Introducing vue-resource import VueResource from 'vue-resource' // Using vue-resou ...

Posted by john_6767 on Fri, 11 Oct 2019 11:46:58 -0700