活动管理

This commit is contained in:
yanran200730
2023-01-29 14:37:38 +08:00
parent 22f3a52a14
commit a7072daf4a
6 changed files with 150 additions and 133 deletions

View File

@@ -7,6 +7,7 @@
</template>
<script>
import Detail from './components/Detail'
import List from './components/List'
import Add from './components/Add'
@@ -29,7 +30,8 @@
components: {
Add,
List
List,
Detail
},
methods: {
@@ -39,7 +41,12 @@
this.params = data.params
}
if (data.type === 'list') {
if (data.type === 'Detail') {
this.component = 'Detail'
this.params = data.params
}
if (data.type === 'List') {
this.component = 'List'
this.params = data.params