sone-ui-component-3.2.4 2.0.266 → 2.0.267

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "sone-ui-component-3.2.4",
3
- "version": "2.0.266",
3
+ "version": "2.0.267",
4
4
  "private": false,
5
5
  "main": "lib/sone-ui.common.js",
6
6
  "files": [
@@ -81,7 +81,7 @@
81
81
  </div> -->
82
82
  <slot name="handleTitleMenu" ></slot>
83
83
  </div>
84
- <el-button slot="reference" type="text" @click="$emit('handleTypeTitle')" :icon="`iconfont iconfont-single ${handleTypeTitleIcon}`"></el-button>
84
+ <el-button slot="reference" type="text" @click="$emit('handleTypeTitle')" :icon="`iconfont iconfont-single ${ titleIcon || handleTypeTitleIcon }`"></el-button>
85
85
  </el-popover>
86
86
  </div>
87
87
  <el-input :placeholder="placeholder" v-model="filterText" :clearable="clearable" @clear="$emit('clear', '')"></el-input>
@@ -241,6 +241,7 @@ export default {
241
241
  placeholder:{ type:String, default:'请输入关键字搜索' },
242
242
  clearable: { type: Boolean, default: false },
243
243
  showTitleButton: { type: Boolean, default: true },
244
+ titleIcon: { type: "String", default: '' },
244
245
  allowDrop: { type: Function },
245
246
  allowDrag: { type: Function },
246
247
  dragWidth:{
package/src/index.js CHANGED
@@ -55,7 +55,7 @@ if (typeof window !== 'undefined' && window.Vue) {
55
55
  }
56
56
 
57
57
  export default {
58
- version: '2.0.266',
58
+ version: '2.0.267',
59
59
  locale: locale.use,
60
60
  i18n: locale.i18n,
61
61
  install,