Commit 895b3a86 authored by 周成波's avatar 周成波

bug

parent 6ba8e72e
......@@ -840,6 +840,8 @@ const MarketingTemplateUploadProductPicSuccess = (val: Wm.UploadResult) => {
if (val.code == 0) {
marketing_template.product_pic = val.data[0].url + "?v=" + utils.genDateTimeStr();
marketing_template.product_pic_local = val.data[0].path;
marketing_template.product_pic_with_text = 'src/assets/waiting.png';
marketing_template.product_pic_with_text_local = '';
ElMessage({
message: '上传成功',
type: 'success'
......@@ -868,6 +870,8 @@ const MarketingTemplateUploadCoverPicSuccess = (val: Wm.UploadResult) => {
if (val.code == 0) {
marketing_template.cover_pic = val.data[0].url + "?v=" + utils.genDateTimeStr();
marketing_template.cover_pic_local = val.data[0].path;
marketing_template.cover_pic_with_text = 'src/assets/waiting.png';
marketing_template.cover_pic_with_text_local = '';
ElMessage({
message: '上传成功',
type: 'success'
......
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