Commit a75f9001 authored by 郭志伟's avatar 郭志伟

fix: 地址修改

parent 868ac099
......@@ -94,7 +94,7 @@ export default class DynamicForm extends Vue {
const base64 = canvas.toDataURL();
const { data: { uptoken } } = await editorApi.getUpToken();
const { data: { key } } = await editorApi.uploadBase64(base64.split(',')[1], imgName, `UpToken ${uptoken}`);
this.formCustom.coverImage = config.qiniuHost + key;
this.formCustom.coverImage = config.qiniuHost + '/' + key;
} catch (e) {
console.log(e);
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment