minor
This commit is contained in:
@@ -20,8 +20,8 @@
|
|||||||
import { mapState } from 'vuex'
|
import { mapState } from 'vuex'
|
||||||
|
|
||||||
export default {
|
export default {
|
||||||
layout: 'modal',
|
|
||||||
name: 'Authorize',
|
name: 'Authorize',
|
||||||
|
layout: 'modal',
|
||||||
middleware: ['auth'],
|
middleware: ['auth'],
|
||||||
async asyncData ({ $axios, query, error, req }) {
|
async asyncData ({ $axios, query, error, req }) {
|
||||||
const { client_id, redirect_uri, scope, response_type } = query
|
const { client_id, redirect_uri, scope, response_type } = query
|
||||||
|
|||||||
@@ -319,9 +319,9 @@ export default {
|
|||||||
margin-bottom: 25px;
|
margin-bottom: 25px;
|
||||||
}
|
}
|
||||||
.main_image {
|
.main_image {
|
||||||
width: 100%;
|
// width: 100%;
|
||||||
margin: 0 auto;
|
margin: 0 auto;
|
||||||
max-height: 80vh;
|
// max-height: 120vh;
|
||||||
border-radius: 5px;
|
border-radius: 5px;
|
||||||
transition: max-height 0.2s;
|
transition: max-height 0.2s;
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -20,7 +20,7 @@ const DiskStorage = {
|
|||||||
const outStream = fs.createWriteStream(finalPath)
|
const outStream = fs.createWriteStream(finalPath)
|
||||||
const thumbStream = fs.createWriteStream(thumbPath)
|
const thumbStream = fs.createWriteStream(thumbPath)
|
||||||
|
|
||||||
const resizer = sharp().resize(1200).jpeg({ quality: 95 })
|
const resizer = sharp().resize(1200).jpeg({ quality: 98 })
|
||||||
const thumbnailer = sharp().resize(400).jpeg({ quality: 90 })
|
const thumbnailer = sharp().resize(400).jpeg({ quality: 90 })
|
||||||
let onError = false
|
let onError = false
|
||||||
const err = e => {
|
const err = e => {
|
||||||
|
|||||||
Reference in New Issue
Block a user