This commit is contained in:
yanran200730
2023-04-19 09:16:12 +08:00
parent 6a9ca31b8f
commit bb67491c2d
5 changed files with 144 additions and 37 deletions

View File

@@ -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