super-pages 0.0.3-up → 0.0.5-up
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
|
@@ -854,14 +854,13 @@ export default {
|
|
|
854
854
|
this.operationButtons.forEach((button) => {
|
|
855
855
|
const myButtonSet = {}
|
|
856
856
|
const myButtonProps = Object.assign({}, button)
|
|
857
|
-
//
|
|
858
|
-
//
|
|
859
|
-
|
|
860
|
-
myButtonProps.
|
|
857
|
+
// element plus不支持该属性了
|
|
858
|
+
// myButtonProps.type = 'text'
|
|
859
|
+
myButtonProps.elementType = 'el-button'
|
|
860
|
+
if(myButtonProps.size==='mini') {
|
|
861
|
+
myButtonProps.size = 'small'
|
|
862
|
+
}
|
|
861
863
|
myButtonProps.elementType = 'el-button'
|
|
862
|
-
// myButtonProps.plain = button.isPlain
|
|
863
|
-
// myButtonProps.round = button.isRound
|
|
864
|
-
// myButtonProps.circle = button.isCircle
|
|
865
864
|
if (!noPermission) {
|
|
866
865
|
// 表示受权限控制
|
|
867
866
|
myButtonProps.permission = this.permissionPrefix + '.' + button.code
|