Element tabs joins the dynamic group price and executes components many times.

< el-tabs: type= "type" v Murray model = "activeName": closable= "closable" @ tab-remove= "removeTab" >

    <el-tab-pane
        v-for="(tab) in editableTabs"
        :key="tab.name"
        :label="tab.title"
        :name="tab.name">
        <keep-alive>
            <component v-bind:is="currentTabComponent" v-bind="currentTabComponent.defaults"></component>
        </keep-alive>
    </el-tab-pane>
</el-tabs>

//editableTabs el-tab-pane
addTab({title,name},component){
        // console.info( " ",title,name );
        let tab = this.editableTabs.filter((tab) => {
            return tab.name === name
        })[0]
        if(!!tab){
            this.activeName = tab.name
            return
        }
        
        this.editableTabs.push({title: title,name: name,content: ""})
        this.components.push({name: name,component: component})
        this.activeName = name
        console.info(this.components);
    },
Jan.11,2022
MySQL Query : SELECT * FROM `codeshelper`.`v9_news` WHERE status=99 AND catid='6' ORDER BY rand() LIMIT 5
MySQL Error : Disk full (/tmp/#sql-temptable-64f5-1e888ab-68654.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
MySQL Errno : 1021
Message : Disk full (/tmp/#sql-temptable-64f5-1e888ab-68654.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
Need Help?