|
@@ -77,8 +77,6 @@ export default {
|
|
|
},
|
|
|
async created() {
|
|
|
await this.search();
|
|
|
- this.videoUrl = this.form.videodata[0].url;
|
|
|
- this.change(0, videoUrl);
|
|
|
},
|
|
|
methods: {
|
|
|
...channel(['query', 'fetch']),
|
|
@@ -88,13 +86,12 @@ export default {
|
|
|
this.$set(this, `form`, res.data);
|
|
|
}
|
|
|
},
|
|
|
+ change(index, item) {
|
|
|
+ console.log(index, item);
|
|
|
+ },
|
|
|
back() {
|
|
|
this.$router.push({ path: 'index' });
|
|
|
},
|
|
|
- change(index, item) {
|
|
|
- this.changeColor = index;
|
|
|
- this.videoUrl = item.url;
|
|
|
- },
|
|
|
},
|
|
|
computed: {
|
|
|
...mapState(['user']),
|