sone-ui-component-3.2.4 2.1.60 → 2.1.61

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.1.60",
3
+ "version": "2.1.61",
4
4
  "private": false,
5
5
  "main": "lib/sone-ui.common.js",
6
6
  "files": [
@@ -270,6 +270,7 @@
270
270
  :key="i"
271
271
  >
272
272
  <el-button
273
+ v-if="buttonDisplay=='separate'"
273
274
  :icon="operation.buttonList.find(d=>d.id===item.id).icon"
274
275
  :disabled="item.hasOwnProperty('isDisabled') ? item.isDisabled : false"
275
276
  :style="{color:operation.buttonList.find(d=>d.id===item.id).color}"
@@ -279,6 +280,18 @@
279
280
  >
280
281
  {{operation.buttonList.find(d=>d.id===item.id).label}}
281
282
  </el-button>
283
+ <el-button
284
+ v-else
285
+ :icon="['icon','iconName'].includes(buttonDisplay)?operation.buttonList.find(d=>d.id===item.id).icon:''"
286
+ :disabled="item.hasOwnProperty('isDisabled') ? item.isDisabled : false"
287
+ :style="{color:operation.buttonList.find(d=>d.id===item.id).color}"
288
+ type="text"
289
+ :title="operation.buttonList.find(d=>d.id === item.id).label"
290
+ @click.native.stop="handButton(operation.buttonList.find(d=>d.id===item.id).function, scope, item.id)"
291
+ >
292
+ {{['name','iconName'].includes(buttonDisplay)?operation.buttonList.find(d=>d.id===item.id).label:''}}
293
+ </el-button>
294
+
282
295
  </el-dropdown-item>
283
296
  </el-dropdown-menu>
284
297
  </el-dropdown>
package/src/index.js CHANGED
@@ -57,7 +57,7 @@ if (typeof window !== 'undefined' && window.Vue) {
57
57
  }
58
58
 
59
59
  export default {
60
- version: '2.1.60',
60
+ version: '2.1.61',
61
61
  locale: locale.use,
62
62
  i18n: locale.i18n,
63
63
  install,