<template>
    <div>
        <!-- <header><el-button @click="goBack">返回</el-button></header> -->
         <icore-terminal :path="'http://paas.hnshituo.com'" :type="typeNum" :info="info" inputable></icore-terminal>
    </div>

</template>

<script>
export default {
    name: 'terminal',
    data () {
        return {
            typeNum: 0,
            info: {}
        }
    },
    mounted () {
        this.typeNum = this.$route.params.typeNum;
        this.info = this.$route.params.info;
    },
    methods: {
        goBack () {
            this.$router.go(-1);// 返回上一层
        }
    }
}
</script>
<style lang="less" scoped>
    div {
        padding: 15px;
    }
    header {
        width: 100%;
        height: 30px;
        margin-bottom: 10px;
    }
</style>
