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')))" />