Skip to content

Commit dd91e12

Browse files
zhangbokanggitee-org
authored andcommitted
update yudao-ui-admin/src/components/VideoUpload/index.vue.
修复修改后再新增时的表单无法清除还原到未选择视频文件状态的问题 Signed-off-by: zbk <[email protected]>
1 parent 5c0da7a commit dd91e12

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

src/components/VideoUpload/index.vue

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -92,6 +92,9 @@ export default {
9292
if (val) {
9393
this.videoUrl = val;
9494
this.uploadFlag = true;
95+
} else {
96+
this.videoUrl = null;
97+
this.uploadFlag = null;
9598
}
9699
},
97100
deep: true,

0 commit comments

Comments
 (0)