bug
This commit is contained in:
@@ -10,6 +10,7 @@
|
||||
import Detail from './components/Detail'
|
||||
import List from './components/List'
|
||||
import Add from './components/Add'
|
||||
import GagList from './components/GagList'
|
||||
|
||||
export default {
|
||||
name: 'AppHelp',
|
||||
@@ -31,11 +32,16 @@
|
||||
components: {
|
||||
Add,
|
||||
List,
|
||||
Detail
|
||||
Detail,
|
||||
GagList
|
||||
},
|
||||
|
||||
methods: {
|
||||
onChange (data) {
|
||||
if (data.type === 'GagList') {
|
||||
this.component = 'GagList'
|
||||
}
|
||||
|
||||
if (data.type === 'Add') {
|
||||
this.component = 'Add'
|
||||
this.params = data.params
|
||||
|
||||
Reference in New Issue
Block a user