|
@@ -4,7 +4,8 @@ |
|
|
<HeadTop /> |
|
|
<HeadTop /> |
|
|
<div style="padding: 0 20px"> |
|
|
<div style="padding: 0 20px"> |
|
|
<h1 style="margin-top: 30px">视频生成失败</h1> |
|
|
<h1 style="margin-top: 30px">视频生成失败</h1> |
|
|
<h1 style="margin-top: 30px">失败原因是:</h1> |
|
|
|
|
|
|
|
|
<h1 style="margin-top: 30px; margin-bottom: 10px">失败原因是:</h1> |
|
|
|
|
|
<div style="text-indent: 2em; font-size: 14px">{{ message }}</div> |
|
|
<h1 style="margin-top: 20px"> |
|
|
<h1 style="margin-top: 20px"> |
|
|
<i |
|
|
<i |
|
|
@click=" |
|
|
@click=" |
|
@@ -37,6 +38,8 @@ import { mapState, mapActions } from 'vuex'; |
|
|
// 工具 |
|
|
// 工具 |
|
|
import { scrollToID } from '../../utils'; |
|
|
import { scrollToID } from '../../utils'; |
|
|
import HeadTop from '../../components/common/head.vue'; |
|
|
import HeadTop from '../../components/common/head.vue'; |
|
|
|
|
|
|
|
|
|
|
|
import { doFindVideoById } from '@/api/generateVideo'; |
|
|
Vue.use(Toast); |
|
|
Vue.use(Toast); |
|
|
export default { |
|
|
export default { |
|
|
components: { |
|
|
components: { |
|
@@ -44,7 +47,8 @@ export default { |
|
|
}, |
|
|
}, |
|
|
data() { |
|
|
data() { |
|
|
return { |
|
|
return { |
|
|
inPage: false |
|
|
|
|
|
|
|
|
inPage: false, |
|
|
|
|
|
message: null |
|
|
}; |
|
|
}; |
|
|
}, |
|
|
}, |
|
|
computed: { |
|
|
computed: { |
|
@@ -56,7 +60,12 @@ export default { |
|
|
methods: { |
|
|
methods: { |
|
|
...mapActions(['setCharacters']) |
|
|
...mapActions(['setCharacters']) |
|
|
}, |
|
|
}, |
|
|
created() {}, |
|
|
|
|
|
|
|
|
async created() { |
|
|
|
|
|
console.log(this.$route.query.id); |
|
|
|
|
|
const res = await doFindVideoById(this.$route.query.id); |
|
|
|
|
|
console.log(res); |
|
|
|
|
|
this.message = res.data.videoMsg; |
|
|
|
|
|
}, |
|
|
mounted() { |
|
|
mounted() { |
|
|
this.inPage = true; |
|
|
this.inPage = true; |
|
|
scrollToID('top'); |
|
|
scrollToID('top'); |
|
|