Commit 2ae1739b by dqjdda

代码优化

parent b0830fba
......@@ -80,6 +80,7 @@ import initData from '@/mixins/initData'
import { update, get } from '@/api/genConfig'
import { generator } from '@/api/generator'
export default {
name: 'Generator',
mixins: [initData],
props: {
name: {
......
......@@ -43,7 +43,7 @@ import initData from '@/mixins/initData'
import { parseTime } from '@/utils/index'
import Generator from './generator'
export default {
name: 'Generator',
name: 'GeneratorIndex',
components: { Generator },
mixins: [initData],
data() {
......
<template >
<div style="padding:30px;">
<el-alert :closable="false" title="三级菜单1" type="success">
<router-view />
</el-alert>
<el-alert :closable="false" title="三级菜单1" type="success"/>
</div>
</template>
<template>
<div style="padding:30px;">
<el-alert :closable="false" title="三级菜单2" type="success">
<router-view />
</el-alert>
<el-alert :closable="false" title="三级菜单2" type="success"/>
</div>
</template>
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment