This commit is contained in:
yanran200730
2021-12-22 16:31:38 +08:00
parent b8767dfe76
commit def00addab
4 changed files with 281 additions and 4 deletions

View File

@@ -9,6 +9,7 @@
<script>
import List from './components/List'
import Add from './components/Add'
import Play from './components/Play'
export default {
label: '媒资管理',
@@ -28,7 +29,8 @@ export default {
components: {
Add,
List
List,
Play
},
methods: {
onChange(data) {
@@ -36,6 +38,10 @@ export default {
this.component = 'Add'
this.params = data.params
}
if (data.type === 'Play') {
this.component = 'Play'
this.params = data.params
}
if (data.type == 'list') {
this.component = 'List'