From bf399dc65aa67c4355b0fdc516f8da5ca7234c82 Mon Sep 17 00:00:00 2001 From: mark <mark18340872469@163.com> Date: 星期日, 09 十月 2022 16:34:22 +0800 Subject: [PATCH] Merge branch 'shandong' of http://192.168.5.5:10010/r/web/saas-web into shandong --- 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