1
0
mirror of https://github.com/sahadev/vue-component-creater-ui.git synced 2025-09-28 07:13:21 +08:00

update: 集成ButtonGroup

This commit is contained in:
shangbin
2021-12-02 17:02:15 +08:00
parent f7b3835b7b
commit 1eaacfb23b
4 changed files with 40 additions and 5 deletions

View File

@@ -160,6 +160,9 @@ export default {
this.initOnly(this.iconArray[0]);
},
/**
* 初始化组件导航栏只有2个及以上的组件类才会出现
*/
initOnly(mountedObject) {
const titles = document.getElementsByClassName(mountedObject.className);