Merge branch 'master' of codeup.aliyun.com:6265f483e4166464dc2f9c14/boeu/portal

This commit is contained in:
dongruihua
2023-02-20 15:11:29 +08:00

View File

@@ -936,7 +936,7 @@ export default {
},
findPapers() {
let params={
pageSize:50,
pageSize:200,
name:''
}
apiPaper.querypaper(params).then((res) => {
@@ -975,6 +975,10 @@ export default {
this.$refs.examForm.validate((valid) => {
if (valid) {
if (this.examForm.id) {
if(this.examForm.randomCount==1){
this.$message.warning('随机试题数必须大于1')
return;
}
apiTest.update(this.examForm).then((res) => {
if (res.status === 200) {
this.$message.success('保存成功!')