|
|
|
|
@ -744,7 +744,7 @@ export default {
|
|
|
|
|
{ (() => {
|
|
|
|
|
let dom = [];
|
|
|
|
|
_this.auths.forEach((item, index) => {
|
|
|
|
|
if (this.btnToMore && _this.moreAuths.find(j => j === item)) return
|
|
|
|
|
if ((_this.btnToMore || _this.auths.length > 5) && _this.moreAuths.find(j => j === item)) return
|
|
|
|
|
if (_this.$scopedSlots[item]) {
|
|
|
|
|
flag = index;
|
|
|
|
|
dom.push(_this.$scopedSlots[item](scope, item, index));
|
|
|
|
|
@ -756,7 +756,9 @@ export default {
|
|
|
|
|
}
|
|
|
|
|
})
|
|
|
|
|
|
|
|
|
|
this.btnToMore? dom.push(btns.get('more')) : ''
|
|
|
|
|
if (_this.auths.length > 5 || _this.btnToMore) {
|
|
|
|
|
dom.push(btns.get('more'))
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
return dom;
|
|
|
|
|
})() }
|
|
|
|
|
|