|
|
@@ -118,7 +118,7 @@
|
|
|
<script>
|
|
|
import { getServerInfo } from '@/api/content'
|
|
|
import { videoRegion, addVideoPost } from '@/api/video'
|
|
|
-import {getVideoChannelInfo} from "@/api/file";
|
|
|
+import { getVideoChannelInfo, getVideoCoverChannelInfo } from '@/api/file'
|
|
|
|
|
|
export default {
|
|
|
name: 'PublishVideo',
|
|
|
@@ -201,7 +201,7 @@ export default {
|
|
|
})
|
|
|
})
|
|
|
|
|
|
- getServerInfo(this.form.channelId).then(res => {
|
|
|
+ /* getServerInfo(this.form.channelId).then(res => {
|
|
|
if (res.code === 0) {
|
|
|
const resData = res.data
|
|
|
this.options = {
|
|
|
@@ -234,9 +234,9 @@ export default {
|
|
|
type: 'warning',
|
|
|
duration: 3000
|
|
|
})
|
|
|
- })
|
|
|
+ })*/
|
|
|
|
|
|
- getServerInfo(this.imgData.channelId).then(res => {
|
|
|
+ getVideoCoverChannelInfo().then(res => {
|
|
|
if (res.code === 0) {
|
|
|
const resData = res.data
|
|
|
this.imgOssUrl = resData.ossUrl
|