删除了验证
This commit is contained in:
parent
0f3cc794c9
commit
be129457d6
@ -57,7 +57,6 @@
|
|||||||
<a-form-item
|
<a-form-item
|
||||||
:label="lan.$t('shipinjieshao')"
|
:label="lan.$t('shipinjieshao')"
|
||||||
class="video-introduction"
|
class="video-introduction"
|
||||||
:rules="{ required: true, message: 'Please input Activity name', trigger: 'blur'}"
|
|
||||||
>
|
>
|
||||||
<a-upload
|
<a-upload
|
||||||
list-type="picture"
|
list-type="picture"
|
||||||
@ -390,6 +389,10 @@ export default defineComponent({
|
|||||||
e.preventDefault();
|
e.preventDefault();
|
||||||
validate()
|
validate()
|
||||||
.then(() => {
|
.then(() => {
|
||||||
|
// else if (subdata.fileurl == "") {
|
||||||
|
// message.error(lan.$t('shipinjieshaoweikong'));
|
||||||
|
// return;
|
||||||
|
// }
|
||||||
console.log(seting.value)
|
console.log(seting.value)
|
||||||
|
|
||||||
console.log(toRaw(form), 111);
|
console.log(toRaw(form), 111);
|
||||||
@ -400,10 +403,7 @@ export default defineComponent({
|
|||||||
} else if (subdata.img == "") {
|
} else if (subdata.img == "") {
|
||||||
message.error(lan.$t('zhibofengmianweikong'));
|
message.error(lan.$t('zhibofengmianweikong'));
|
||||||
return;
|
return;
|
||||||
} else if (subdata.fileurl == "") {
|
} else if (subdata.dateline == "") {
|
||||||
message.error(lan.$t('shipinjieshaoweikong'));
|
|
||||||
return;
|
|
||||||
} else if (subdata.dateline == "") {
|
|
||||||
message.error(lan.$t('kaishishijianweikong'));
|
message.error(lan.$t('kaishishijianweikong'));
|
||||||
return;
|
return;
|
||||||
} else if (subdata.livetime == "") {
|
} else if (subdata.livetime == "") {
|
||||||
|
Loading…
Reference in New Issue
Block a user