diff --git a/src/components/jeecg/JEditor.vue b/src/components/jeecg/JEditor.vue index 917803517107561a93037f96963ba52f5695a83c..74e30ad93b945c46343c2a85018d6ef63306a29a 100644 --- a/src/components/jeecg/JEditor.vue +++ b/src/components/jeecg/JEditor.vue @@ -76,7 +76,7 @@ formData.append('file', blobInfo.blob(), blobInfo.filename()); formData.append('biz', "jeditor"); formData.append("jeditor","1"); - uploadAction(window._CONFIG['domianURL']+"/sys/common/upload", formData).then((res) => { + uploadAction("/sys/common/upload", formData).then((res) => { if (res.success) { if(res.message == 'local'){ const img = 'data:image/jpeg;base64,' + blobInfo.base64()