25613
This commit is contained in:
@@ -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'
|
||||
|
||||
Reference in New Issue
Block a user