|
|
@@ -176,7 +176,7 @@ const save = debounce(async () => {
|
|
|
}, 500);
|
|
|
|
|
|
const submitGround = debounce(async () => {
|
|
|
- await formRef.value.validate('introduction');
|
|
|
+ await formRef.value.validate();
|
|
|
const res = form.value.id ? await editNews(form.value) : await addNews(form.value);
|
|
|
if (res && res.code === 200) {
|
|
|
await publishNews(res.data.id);
|