sone-ui-component-3.2.4 2.1.59 → 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/lib/sone-ui.common.js +40 -27
- package/lib/sone-ui.common.js.map +1 -1
- package/lib/sone-ui.umd.js +40 -27
- package/lib/sone-ui.umd.js.map +1 -1
- package/lib/sone-ui.umd.min.js +2 -2
- package/lib/sone-ui.umd.min.js.map +1 -1
- package/package.json +1 -1
- package/packages/table/src/mainNew.vue +13 -0
- package/src/index.js +1 -1
package/package.json
CHANGED
|
@@ -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>
|