|
@@ -513,8 +513,8 @@ export default {
|
|
|
this.$forceUpdate();
|
|
|
},
|
|
|
addGrid() {
|
|
|
- if (!this.file.userid || this.file.userid == this.userid || this.remarks == '') {
|
|
|
- if (!this.file.video && !this.file.photo) {
|
|
|
+ if (!this.file.userid || this.file.userid == this.userid) {
|
|
|
+ if (!this.file.video && !this.file.photo && this.remarks == '') {
|
|
|
this.$message.error("至少上传一个视频、一张图片或者备注");
|
|
|
return;
|
|
|
}
|