Commit ee55be3c by cwq0219

create

1 parent 48ab46c4
......@@ -10,7 +10,6 @@ import Department from '@/views/department'
Vue.use(Router)
const routers = [
{ path: '/', redirect: {name: 'menu'} },
{ name: 'menu', path: '/menu', component: Menu },
{ name: 'user', path: '/user', component: User },
{ name: 'role', path: '/role', component: Role },
......
<!-- menuManagement -->
<template>
<div>menuManagement
<hr>
{{session}}
</div>
<div>menuManagement</div>
</template>
<script>
export default {
name: 'menu',
name: 'menuMG',
data () {
return {
session:this.$get_session_config()
}
}
}
......
<!-- roleManagement -->
<template>
<div>
<gl-input
size="medium "
placeholder="请输入角色名称"
v-model="roleName"
clearable>
<gl-input placeholder="请输入角色名称" v-model="roleName" clearable>
</gl-input>
</div>
</template>
<script>
export default {
name:'role',
data(){
name: 'role',
data () {
return {
roleName:''
roleName: ''
}
}
}
</script>
<style scoped>
</style>
\ No newline at end of file
gl-input__innner{
width: 30%;
}
</style>
......@@ -5,12 +5,12 @@
<script>
export default {
name:'user',
data(){
name: 'user',
data () {
return {
}
}
}
</script>
<style scoped>
</style>
\ No newline at end of file
</style>
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!