From 4ed82892f7eeebdef862ec03f53116653402b840 Mon Sep 17 00:00:00 2001
From: juzi <819872918@qq.com>
Date: Fri, 24 Nov 2023 10:57:03 +0800
Subject: [PATCH] =?UTF-8?q?=E5=A2=9E=E5=8A=A0table=E6=93=8D=E4=BD=9C?=
=?UTF-8?q?=E5=88=97=E7=9A=84tooltip,=E4=BF=AE=E6=94=B9=E6=97=B6=E9=97=B4?=
=?UTF-8?q?=E9=80=89=E6=8B=A9=E5=99=A8=E7=9A=84=E9=BB=98=E8=AE=A4width?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
package.json | 2 +-
.../BaseTable/subcomponents/MethodBtn.vue | 92 ++++++++++---------
src/components/SearchBar/SearchBar.vue | 2 +-
3 files changed, 49 insertions(+), 47 deletions(-)
diff --git a/package.json b/package.json
index 2164a95..61a9325 100644
--- a/package.json
+++ b/package.json
@@ -1,6 +1,6 @@
{
"name": "code-brick-zj",
- "version": "1.0.2",
+ "version": "1.0.3",
"private": false,
"description": "组件封装",
"main": "index.js"
diff --git a/src/components/BaseTable/subcomponents/MethodBtn.vue b/src/components/BaseTable/subcomponents/MethodBtn.vue
index 0c044e0..bedc04f 100644
--- a/src/components/BaseTable/subcomponents/MethodBtn.vue
+++ b/src/components/BaseTable/subcomponents/MethodBtn.vue
@@ -12,53 +12,55 @@
style="margin: 0 4px; font-size: 18px; color: #e5e7eb"
>|
-
-
+
- {{ item.btnName }}
-
+ >
+
+ {{ item.btnName }}
+
+
diff --git a/src/components/SearchBar/SearchBar.vue b/src/components/SearchBar/SearchBar.vue
index 64ce641..a84f700 100644
--- a/src/components/SearchBar/SearchBar.vue
+++ b/src/components/SearchBar/SearchBar.vue
@@ -63,7 +63,7 @@
:placeholder="item.placeholder"
:picker-options="item.pickerOptions ? item.pickerOptions : null"
:clearable="item.clearable === false ? false : true"
- :style="item.width ? 'width:' + item.width + 'px' : (item.dateType === 'datetimerange' ? 'width:340px' : (item.dateType === 'daterange' ? 'width:220px' : 'width:140px'))"
+ :style="item.width ? 'width:' + item.width + 'px' : (item.dateType === 'datetimerange' ? 'width:350px' : (item.dateType === 'daterange' ? 'width:252px' : (item.dateType === 'datetime' ? 'width:200px' : 'width:148px')))"
/>