Commit e75fa81d by yuananting

fix:同名解决

parent ef921b61
...@@ -2,7 +2,7 @@ ...@@ -2,7 +2,7 @@
* @Author: yuananting * @Author: yuananting
* @Date: 2021-03-27 16:15:13 * @Date: 2021-03-27 16:15:13
* @LastEditors: yuananting * @LastEditors: yuananting
* @LastEditTime: 2021-04-14 16:50:31 * @LastEditTime: 2021-04-14 17:45:41
* @Description: 助学工具-新建/复制/编辑试卷 * @Description: 助学工具-新建/复制/编辑试卷
* @Copyrigh: © 2020 杭州杰竞科技有限公司 版权所有 * @Copyrigh: © 2020 杭州杰竞科技有限公司 版权所有
*/ */
...@@ -310,7 +310,7 @@ class OperatePaper extends Component { ...@@ -310,7 +310,7 @@ class OperatePaper extends Component {
const { selectQuestionList, formData, currentOperate } = this.state; const { selectQuestionList, formData, currentOperate } = this.state;
const categoryId = getParameterByName("categoryId"); const categoryId = getParameterByName("categoryId");
let questionList = []; let questionList = [];
if (!formData.passRate || !formData.paperName || this.checkExist()) { if (!formData.passRate || !formData.paperName || this.checkExist(formData.paperName)) {
return; return;
} }
if (selectQuestionList.length === 0) { if (selectQuestionList.length === 0) {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment