java implements the authorization of Wechat Public Number Web pages and obtains users'basic information

1. Web Authorized Callback Domain Name Before Wechat Public Number requests user's web page authorization, it is necessary to go to the public platform official website and modify the authorized callback domain name. Please note that the domain name (a string) is filled in here, not the URL, so please do not add it. http:// Equivalent header 2. ...

Posted by RockRunner on Thu, 22 Aug 2019 12:08:15 +0200

session Problem of Front-end and Back-end Separation

[session Problem --- Pit Jumping + Pit Climbing] session Foundation Points: Session is session control. The session object stores the properties or configuration information required by a particular user session. When users jump between the web ...

Posted by psyqosis on Sun, 18 Aug 2019 15:34:17 +0200

Vue project optimization

In the daily development of Vue project, with the increasing responsibility of business and the increasing amount of code, the problem is that the volume of packaged vendor.js is too large, which leads to the long time of loading space-time white pages and the poor experience for users. So we need to reduce the volume of vendor.js and solve thi ...

Posted by cbj4074 on Thu, 15 Aug 2019 15:13:56 +0200

es6 Learning Notes

1,Promise Role: Resolve asynchronous callback issues 1 //Establish 2 new Promise((resolve,reject)=>{ 3 if(success){ 4 resolve('success') 5 }else{ 6 reject('error') 7 } 8 }) .then(res=>{//Return a Promise 9 console.log(res) 10 }) .catch(err=>{ 11 console.log(err) 12 ...

Posted by delayedinsanity on Sat, 10 Aug 2019 18:39:23 +0200

Asynchronous Request Callback Nested Solution

Preface In front-end asynchronous requests, the traditional way to get data is to write ajax callbacks, but this wayThis is not conducive to the maintenance and readability of code, so the Generator and Proise solved this problem in the es6 era, and es7 made it more concise through async and await. Replace callback nesting with Generator Genera ...

Posted by ltoto on Fri, 09 Aug 2019 09:06:31 +0200

Teach you how to use vue to develop webpage wechat sharing function

First of all, you will have vue. Second, you will have Wechat Public Number 1. Appid 2. The key is equivalent to your Wechat Authentication ID Card. No nonsense!! The following direct approach Look at this first without a public number Public Number Opens Course Look at your id in the basic configura ...

Posted by kincet7 on Fri, 02 Aug 2019 07:46:57 +0200

Summary of the Experience of element Upload Component el-upload

Preface Recent background management projects, the use of the _____________ vue-element-admin Uploading pictures is a very common function, but also encountered many problems, just take this opportunity to do some summary. The list of questions that will be raised in the preliminary summary is as follows: el-upload custom upload method Picture ...

Posted by fleabel on Mon, 29 Jul 2019 06:07:24 +0200

vue-cli basic configuration

When vue3.0 became popular, we also received news that the old version of Vue will not be applicable to all kinds of dependency packages that used vue2.0 in future updates. Therefore, vue3.0 version is used in the new project. Here are the basic functions to configure vue3.0 install Installation of vue3.0 npm install -g @vue/cli or yarn global ...

Posted by newbie8899 on Mon, 22 Jul 2019 10:16:45 +0200

vue for back-end classmates

Installation environment In the article, there are many pictures, which occupy a certain space. Some guys who write in the background say how to write Vue and how to build a new Vue project. Then I think it's necessary to write a Vue tutorial for backstage students. The article hardly talks about the details of css and vue, so as to reduce the ...

Posted by belaraka on Sun, 21 Jul 2019 08:09:47 +0200

Make a Netease Cloud Music with vue.js

Foreword: I have studied VUEJS for some time, but I haven't made anything. I have always liked to use Netease cloud music app, so I made this app. technology stack Vue family barrel (vue vue-router vuex) axios Muse-UI (a Vue2.x-based material design style UI framework) Analysis of Function and Thought ...

Posted by geekette on Mon, 15 Jul 2019 02:33:52 +0200