Fetch the repository succeeded.
<template>
<div id="app">
<router-view/>
<div class="m-button-group-wrap">
<el-button :disabled="$route.name === 'Home'" type="text" icon="el-icon-edit" @click.native="handleJump('Home')">编辑模式</el-button>
<el-button :disabled="$route.name === 'Preview'" type="text" icon="el-icon-view" @click.native="handleJump('Preview')">预览模式</el-button>
<el-button :disabled="$route.name === 'HighLight'" type="text" icon="el-icon-star-on" @click.native="handleJump('HighLight')">高亮模式</el-button>
<el-button :disabled="$route.name === 'Xml'" type="text" icon="el-icon-copy-document" @click.native="handleJump('Xml')">XML数据</el-button>
<el-button :disabled="$route.name === 'WfSubProcess'" type="text" icon="el-icon-copy-document" @click.native="handleJump('WfSubProcess')">snaker子流程</el-button>
<el-button :disabled="$route.name === 'SubProcess'" type="text" icon="el-icon-copy-document" @click.native="handleJump('SubProcess')">子流程</el-button>
<el-button :disabled="$route.name === 'CustomAssigner'" type="text" icon="el-icon-user" @click.native="handleJump('CustomAssigner')">自定义参数者</el-button>
</div>
</div>
</template>
<script>
export default {
methods: {
handleJump (name) {
this.$router.push({
name: name
})
}
}
}
</script>
<style>
#app {
font-family: Avenir, Helvetica, Arial, sans-serif;
-webkit-font-smoothing: antialiased;
-moz-osx-font-smoothing: grayscale;
text-align: center;
color: #2c3e50;
}
#nav {
padding: 30px;
}
#nav a {
font-weight: bold;
color: #2c3e50;
}
#nav a.router-link-exact-active {
color: #42b983;
}
.m-button-group-wrap {
width: 100%;
position: fixed;
left: 100px;
bottom: 0;
z-index: 9999;
}
</style>
此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。