From a08c28e50923ac6f10611e938e37e972d5d72943 Mon Sep 17 00:00:00 2001 From: RuoYi <yzz_ivy@163.com> Date: 星期日, 19 六月 2022 12:27:30 +0800 Subject: [PATCH] 图片上传限制limit隐藏增加按钮 --- src/components/ImageUpload/index.vue | 7 +++++++ 1 files changed, 7 insertions(+), 0 deletions(-) diff --git a/src/components/ImageUpload/index.vue b/src/components/ImageUpload/index.vue index 6dc2e25..1c1dc74 100644 --- a/src/components/ImageUpload/index.vue +++ b/src/components/ImageUpload/index.vue @@ -186,3 +186,10 @@ return strs != "" ? strs.substr(0, strs.length - 1) : ""; } </script> + +<style scoped lang="scss"> +// .el-upload--picture-card 鎺у埗鍔犲彿閮ㄥ垎 +::v-deep.hide .el-upload--picture-card { + display: none; +} +</style> \ No newline at end of file -- Gitblit v1.9.3