Commit 1c3521c5fac90a1853a8ff6f8e19daff74308617
Committed by
Gitee
1 parent
08e9772f
update yudao-ui-admin/src/components/VideoUpload/index.vue.
修复修改后再新增时的表单无法清除还原到未选择视频文件状态的问题 Signed-off-by: zbk <540064991@qq.com>
Showing
1 changed file
with
3 additions
and
0 deletions
yudao-ui-admin/src/components/VideoUpload/index.vue
| @@ -92,6 +92,9 @@ export default { | @@ -92,6 +92,9 @@ export default { | ||
| 92 | if (val) { | 92 | if (val) { |
| 93 | this.videoUrl = val; | 93 | this.videoUrl = val; |
| 94 | this.uploadFlag = true; | 94 | this.uploadFlag = true; |
| 95 | + } else { | ||
| 96 | + this.videoUrl = null; | ||
| 97 | + this.uploadFlag = null; | ||
| 95 | } | 98 | } |
| 96 | }, | 99 | }, |
| 97 | deep: true, | 100 | deep: true, |