From dfdaabeb4829f570b2785d4279d1500bf6554cd0 Mon Sep 17 00:00:00 2001
From: odjbin <1042039504@qq.com>
Date: Sun, 20 Oct 2024 21:17:45 +0800
Subject: [PATCH 1/2] =?UTF-8?q?fix=20:=20=E4=BF=AE=E5=A4=8D=E6=96=B0?=
=?UTF-8?q?=E5=A2=9E=E7=A0=94=E5=8F=91=E6=8A=95=E5=85=A5=E8=B5=84=E9=87=91?=
=?UTF-8?q?bug?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
src/views/research-fund/add.vue | 6 ++----
1 file changed, 2 insertions(+), 4 deletions(-)
diff --git a/src/views/research-fund/add.vue b/src/views/research-fund/add.vue
index 3e153ae..94d647c 100644
--- a/src/views/research-fund/add.vue
+++ b/src/views/research-fund/add.vue
@@ -94,9 +94,8 @@ const sureSelectedCompany = (select) => {
}
const cancelSelectedCompany=(select)=>{
- console.info("🚀 ~ file:add method:cancelSelectedCompany line:287 -----", select)
- formData.value.rdCompanyId =''
- formData.value.rdCompany =''
+ // formData.value.rdCompanyId =''
+ // formData.value.rdCompany =''
selectedCompanyList.value = select
}
const handleExpend = () => {
@@ -163,7 +162,6 @@ const handleSubmit = async (instance) => {
})
return;
}
- console.info("🚀 ~method:'formData.value.rdCompanyId -----", formData.value.rdCompanyId)
if (!formData.value.rdCompanyId) {
ElNotification({
title: '提示',
From 57ec7832f2c051633e5e196f0f883124e82776d0 Mon Sep 17 00:00:00 2001
From: odjbin <1042039504@qq.com>
Date: Tue, 22 Oct 2024 23:19:44 +0800
Subject: [PATCH 2/2] =?UTF-8?q?fix=20:=20=E4=BF=AE=E5=A4=8D=E6=96=87?=
=?UTF-8?q?=E4=BB=B6=E9=A2=84=E8=A7=88=E5=BC=B9=E7=AA=97=E9=80=82=E9=85=8D?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
src/components/filePreview/ImagePreview.vue | 20 +++++++++++++++++++-
src/components/filePreview/index.vue | 6 ++++--
2 files changed, 23 insertions(+), 3 deletions(-)
diff --git a/src/components/filePreview/ImagePreview.vue b/src/components/filePreview/ImagePreview.vue
index 62e7db5..663f7a6 100644
--- a/src/components/filePreview/ImagePreview.vue
+++ b/src/components/filePreview/ImagePreview.vue
@@ -1,6 +1,6 @@
-
![Preview]()
+
@@ -51,6 +51,24 @@ nextTick(() => {
.img-preview {
display: flex;
justify-content: center;
+ overflow-y: auto;
+ overflow-x: auto;
+ &::-webkit-scrollbar {
+ width: 6px;
+ height: 6px;
+ }
+
+ // 滚动条轨道
+ &::-webkit-scrollbar-track {
+ background: rgb(239, 239, 239);
+ border-radius: 2px;
+ }
+
+ // 小滑块
+ &::-webkit-scrollbar-thumb {
+ background: rgba(80, 81, 82, 0.29);
+ border-radius: 10px;
+ }
}
diff --git a/src/components/filePreview/index.vue b/src/components/filePreview/index.vue
index 7dc3990..71bb054 100644
--- a/src/components/filePreview/index.vue
+++ b/src/components/filePreview/index.vue
@@ -1,6 +1,6 @@
-
-