소스 검색

修改bug

lisy 4 달 전
부모
커밋
902cd6caec
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      src/views/Level2/level2-input/index.vue

+ 1 - 1
src/views/Level2/level2-input/index.vue

@@ -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);