| | |
| | | |
| | | <script> |
| | | import '@/components/uview-components/uview-ui'; |
| | | import MyTag from '@/pages/subComponents/my-tag.vue' |
| | | import MyTag from '@/pages/cusbar/my-tag.vue' |
| | | |
| | | import { getSTSToken } from "@/api/common.js"; |
| | | import { publish } from "@/api/video.js"; |
| | |
| | | computed: { |
| | | canPublish() { |
| | | if(this.formData.videoContentType === 'video') { |
| | | return this.formData.videoFileKey && this.formData.title && this.formData.cover; |
| | | //取消限制封面必传 |
| | | return this.formData.videoFileKey && this.formData.title; |
| | | // return this.formData.videoFileKey && this.formData.title && this.formData.cover; |
| | | } else if(this.formData.videoContentType === 'img') { |
| | | return this.formData.videoImgs.length > 0 && this.formData.title; |
| | | } |