【fix ESLint】src/components/jero/JEditor
This commit is contained in:
@@ -75,7 +75,7 @@ export default {
|
|||||||
formData.append('jeditor', '1')
|
formData.append('jeditor', '1')
|
||||||
uploadAction(window._CONFIG.domianURL + '/sys/common/upload', formData).then((res) => {
|
uploadAction(window._CONFIG.domianURL + '/sys/common/upload', formData).then((res) => {
|
||||||
if (res.success) {
|
if (res.success) {
|
||||||
if (res.message == 'local') {
|
if (res.message === 'local') {
|
||||||
const img = 'data:image/jpeg;base64,' + blobInfo.base64()
|
const img = 'data:image/jpeg;base64,' + blobInfo.base64()
|
||||||
success(img)
|
success(img)
|
||||||
} else {
|
} else {
|
||||||
@@ -97,7 +97,9 @@ export default {
|
|||||||
|
|
||||||
reload () {
|
reload () {
|
||||||
this.reloading = true
|
this.reloading = true
|
||||||
this.$nextTick(() => this.reloading = false)
|
this.$nextTick(() => {
|
||||||
|
this.reloading = false
|
||||||
|
})
|
||||||
},
|
},
|
||||||
|
|
||||||
onClick (e) {
|
onClick (e) {
|
||||||
|
|||||||
Reference in New Issue
Block a user