删除了验证

This commit is contained in:
luyuan 2020-11-26 15:04:56 +08:00
parent 0f3cc794c9
commit be129457d6
Signed by: theluyuan
GPG Key ID: A7972FD973317FF3

View File

@ -57,7 +57,6 @@
<a-form-item
:label="lan.$t('shipinjieshao')"
class="video-introduction"
:rules="{ required: true, message: 'Please input Activity name', trigger: 'blur'}"
>
<a-upload
list-type="picture"
@ -390,6 +389,10 @@ export default defineComponent({
e.preventDefault();
validate()
.then(() => {
// else if (subdata.fileurl == "") {
// message.error(lan.$t('shipinjieshaoweikong'));
// return;
// }
console.log(seting.value)
console.log(toRaw(form), 111);
@ -400,10 +403,7 @@ export default defineComponent({
} else if (subdata.img == "") {
message.error(lan.$t('zhibofengmianweikong'));
return;
} else if (subdata.fileurl == "") {
message.error(lan.$t('shipinjieshaoweikong'));
return;
} else if (subdata.dateline == "") {
} else if (subdata.dateline == "") {
message.error(lan.$t('kaishishijianweikong'));
return;
} else if (subdata.livetime == "") {