From c4b4516e4cc5b4e72ea720b43ac2fce111a768cb Mon Sep 17 00:00:00 2001 From: sc Date: Tue, 18 May 2021 09:04:47 +0800 Subject: [PATCH] =?UTF-8?q?=E6=9B=BF=E6=8D=A2=E6=B7=B1=E5=BA=A6=E9=80=89?= =?UTF-8?q?=E6=8B=A9=E5=99=A8:v-deep=E4=B8=BA:deep()?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/components/scUpload/index.vue | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/components/scUpload/index.vue b/src/components/scUpload/index.vue index 7abfc473..fa7c6396 100644 --- a/src/components/scUpload/index.vue +++ b/src/components/scUpload/index.vue @@ -104,7 +104,7 @@ .sc-upload-uploader {border: 1px dashed #d9d9d9;box-sizing: border-box;width: 100%;height: 100%;} .sc-upload-uploader:hover {border: 1px dashed #409eff;} .sc-upload-uploader .uploader {width: 100%;height: 100%;} - .sc-upload-uploader:v-deep .el-upload {width: 100%;height: 100%;} + .sc-upload-uploader:deep(.el-upload) {width: 100%;height: 100%;} .sc-upload-uploader .file-empty {width: 100%;height: 100%;line-height: 1;display: flex;flex-direction: column;align-items: center;justify-content: center;} .sc-upload-uploader .file-empty i {font-size: 28px;color: #8c939d;}