diff --git a/src/views/modules/brand/config/popup/add-or-update.vue b/src/views/modules/brand/config/popup/add-or-update.vue index ea5f25e..8f11336 100644 --- a/src/views/modules/brand/config/popup/add-or-update.vue +++ b/src/views/modules/brand/config/popup/add-or-update.vue @@ -219,7 +219,6 @@ export default { type: "Input", width: "300px", type: "jsx", - rules: { required: true, message: "请添加视频" }, render: () => { const handleChange = (file, fileList) => { // console.log(fileList); @@ -229,47 +228,62 @@ export default { console.log(res, fileList); }; const handleRemove = (file, fileList) => { + this.modalData.video = ""; console.log(file, fileList); }; return ( -
- - - 点击上传 - -
- 只能上传jpg/png文件,且不超过500kb -
-
-
-
); }, @@ -321,4 +335,4 @@ export default { overflow-y: scroll !important; height: 65vh !important; } - \ No newline at end of file +