From 32a5277efe8bf221136c8dd96bcaee9fa164e479 Mon Sep 17 00:00:00 2001 From: xuwenbo <717567226@qq.com> Date: Tue, 11 Aug 2020 11:48:54 +0800 Subject: [PATCH] =?UTF-8?q?=E7=9B=B4=E6=92=AD=E6=B7=BB=E5=8A=A0=E7=9B=B8?= =?UTF-8?q?=E5=85=B3=E5=8A=9F=E8=83=BDbug=E4=BF=AE=E6=94=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/wechat/live/index.vue | 22 +++++++++++----------- 1 file changed, 11 insertions(+), 11 deletions(-) diff --git a/src/views/wechat/live/index.vue b/src/views/wechat/live/index.vue index 96531ac..fb5c05e 100644 --- a/src/views/wechat/live/index.vue +++ b/src/views/wechat/live/index.vue @@ -70,16 +70,16 @@ - + - + - + @@ -87,9 +87,9 @@ - + @@ -158,7 +158,7 @@ import MaterialList from '@/components/material' // crud交由presenter持有 const defaultCrud = CRUD({ title: 'wxlive', url: 'api/yxWechatLive', sort: 'roomId,desc', crudMethod: { ...crudYxWechatLive }}) -const defaultForm = { roomId: null, name: null, coverImge: null, startDate: null, endDate : null,shareImge: null, liveStatus: null, coverImgArr: [],shareImgArr: [],anchorImgArr: [],startTime: null, endTime: null, anchorName: null, anchorWechat: null, anchorImge: null, type: null, screenType: null, closeLike: null,closeGoods: null, closeComment: null } +const defaultForm = { roomid: null, name: null, coverImge: null, startDate: null, endDate : null,shareImge: null, liveStatus: null, coverImgArr: [],shareImgArr: [],anchorImgArr: [],startTime: null, endTime: null, anchorName: null, anchorWechat: null, anchorImge: null, type: null, screenType: null, closeLike: null,closeGoods: null, closeComment: null } export default { name: 'YxWechatLive', components: { pagination, crudOperation, rrOperation, udOperation ,MaterialList}, @@ -223,9 +223,9 @@ export default { }, // 编辑前 [CRUD.HOOK.beforeToEdit](crud, form) { - form.imageArr = [form.image] - form.shareImgArr = [form.image] - form.anchorImgeArr = [form.image] + form.coverImgArr = [form.coverImge] + form.shareImgArr = [form.shareImge] + form.anchorImgArr = [form.anchorImge] } } }