【fix ESLint】src/components/jero/JEditor

This commit is contained in:
zhaoxiao
2023-03-06 09:08:30 +08:00
parent 3e8bfe2f4e
commit c11c9d5980
+4 -2
View File
@@ -75,7 +75,7 @@ export default {
formData.append('jeditor', '1')
uploadAction(window._CONFIG.domianURL + '/sys/common/upload', formData).then((res) => {
if (res.success) {
if (res.message == 'local') {
if (res.message === 'local') {
const img = 'data:image/jpeg;base64,' + blobInfo.base64()
success(img)
} else {
@@ -97,7 +97,9 @@ export default {
reload () {
this.reloading = true
this.$nextTick(() => this.reloading = false)
this.$nextTick(() => {
this.reloading = false
})
},
onClick (e) {