From d3fbd83787573e9e67067b7b65ae9d5ce8ecb0b8 Mon Sep 17 00:00:00 2001 From: zhangzengfei <zhangzengfei@smartai.com> Date: 星期二, 16 八月 2022 10:03:20 +0800 Subject: [PATCH] 添加统计分析大屏 --- src/views/productDetail/components/UploadBox.vue | 8 +++++++- 1 files changed, 7 insertions(+), 1 deletions(-) diff --git a/src/views/productDetail/components/UploadBox.vue b/src/views/productDetail/components/UploadBox.vue index 44b2ab0..6e7bde6 100644 --- a/src/views/productDetail/components/UploadBox.vue +++ b/src/views/productDetail/components/UploadBox.vue @@ -61,7 +61,13 @@ <el-form-item label="澶囨敞" prop="reserved"> <el-input type="textarea" v-model="item.reserved"></el-input> </el-form-item> - <el-form-item label="浠樻鍑瘉" prop="pic"> + <el-form-item + label="浠樻鍑瘉" + :prop="`list[${index}].appendix`" + :rules="[ + { required: true, message: '璇蜂笂浼犲嚟璇�', trigger: 'blur' }, + ]" + > <el-image class="preview" v-if="item.appendix" -- Gitblit v1.8.0