Upload 20M High definition pictures of your camera , You need to add a suffix after the image :+?'imageslim/3/h/136', Process the uploaded files , Otherwise, there will be a small problem with the picture
Install the corresponding plug-in : npm install qiniu-js
Seven cattle upload uses seven cattle sdk, Images are automatically compressed when they are displayed , After successful upload resolve() Two parameters are returned :hash、key, Use the returned key Field is spliced with the seven cattle domain name returned by the background , That makes up the new picture address , But back key There is no such thing .jpg Suffix , So you need to send it to Seven cattle sdk Of key Change to your own logo