Commit 7b5ef8e6 by shaojiawen

update: 转增上传图片

parent 8574c7a3
......@@ -6,8 +6,8 @@ import { predefineColors, startDayOptionsDay, startDayOptionsMonth } from '@/co
import { marketPrefix as prefix } from '@/config';
import resultDialog from './module/result-dialog';
import sendPreview from './module/send-preview';
import commomApi from '@/api/common.js';
const { uploadUrl, getRelationId } = commomApi;
import commomApi, { uploadUrl } from '@/api/common.js';
const { getRelationId } = commomApi;
const { addCard, copyCard, checkDemoCode, getMallShopList, importCode } = api;
// 禁止回车
......@@ -856,6 +856,7 @@ export default {
}
},
zmSuccess(obj) {
console.log(11111);
this.zmImg = [ { url: obj.res.result.url, fileId: obj.res.result.fileId } ];
this.ruleForm1.giveImage = obj.res.result.url;
this.ruleForm1.giveImageField = obj.res.result.fileId;
......
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