video样式
This commit is contained in:
parent
7a821adee5
commit
6bf0fbc16f
@ -269,7 +269,7 @@
|
|||||||
</template>
|
</template>
|
||||||
|
|
||||||
<script lang="ts">
|
<script lang="ts">
|
||||||
import { computed, defineComponent, onMounted, reactive, Ref, ref } from "vue";
|
import { computed, defineComponent, onMounted, reactive, Ref, ref, toRaw, watch } from "vue";
|
||||||
import { UserOutlined, PlaySquareOutlined } from '@ant-design/icons-vue';
|
import { UserOutlined, PlaySquareOutlined } from '@ant-design/icons-vue';
|
||||||
import NavBottom from '@/components/NavBottom.vue';
|
import NavBottom from '@/components/NavBottom.vue';
|
||||||
import { uploadflie } from "@/utils/vod"
|
import { uploadflie } from "@/utils/vod"
|
||||||
@ -432,7 +432,7 @@ export default defineComponent({
|
|||||||
* @return { void }
|
* @return { void }
|
||||||
*/
|
*/
|
||||||
function submitInfo (): void {
|
function submitInfo (): void {
|
||||||
console.log('12');
|
console.log(toRaw(formData.value));
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -463,8 +463,14 @@ export default defineComponent({
|
|||||||
userinfo.value.video = res.video.url;
|
userinfo.value.video = res.video.url;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if(formData.value.video != ""){
|
||||||
|
uploadprogress.value = 100
|
||||||
|
}
|
||||||
|
watch(formData,()=>{
|
||||||
|
if(formData.value.video != "" && uploadprogress.value == 0){
|
||||||
|
uploadprogress.value = 100
|
||||||
|
}
|
||||||
|
})
|
||||||
return {
|
return {
|
||||||
modalNode,
|
modalNode,
|
||||||
formData,
|
formData,
|
||||||
|
Loading…
x
Reference in New Issue
Block a user