<template>

        <component v-bind:is="currentTabComponent">

        </component>
    
    
</template>

<script>
import moment from 'moment';
import { getAction, postAction, downFile, downFilePost } from '@/api/manage';
export default {
    name:'index',
    data() {
        return {
            currentTabComponent:'createStrategy',
            isEdit:false,
            strategyInfo:{},
            accountInfo:{},
            previewStrategyInfo:{},
        }
    },
    components:{   
        createStrategy: () => import('./createStrategy'), 
        setDirectional: () => import('./setDirectional'),  
        previewStrategy: () => import('./previewStrategy'), 
        
    },

    mounted(){
       this.currentTabComponent='createStrategy' 
    },
    beforeDestroy() {
        this.currentTabComponent='createStrategy' 
    },
   
}

</script>
