曲靖
This commit is contained in:
@@ -7,9 +7,10 @@
|
||||
</template>
|
||||
|
||||
<script>
|
||||
import Detail from './components/Detail'
|
||||
import List from './components/List'
|
||||
import Add from './components/Add'
|
||||
import List from './components/List'
|
||||
import Detail from './components/Detail'
|
||||
import Comment from './components/Comment'
|
||||
|
||||
export default {
|
||||
name: 'AppCurriculumManage',
|
||||
@@ -22,7 +23,7 @@
|
||||
|
||||
data () {
|
||||
return {
|
||||
component: 'List',
|
||||
component: 'Comment',
|
||||
params: {},
|
||||
include: []
|
||||
}
|
||||
@@ -31,7 +32,8 @@
|
||||
components: {
|
||||
Add,
|
||||
List,
|
||||
Detail
|
||||
Detail,
|
||||
Comment
|
||||
},
|
||||
|
||||
methods: {
|
||||
@@ -41,6 +43,11 @@
|
||||
this.params = data.params
|
||||
}
|
||||
|
||||
if (data.type === 'Comment') {
|
||||
this.component = 'Comment'
|
||||
this.params = data.params
|
||||
}
|
||||
|
||||
if (data.type === 'Detail') {
|
||||
this.component = 'Detail'
|
||||
this.params = data.params
|
||||
|
||||
Reference in New Issue
Block a user