Commit 81460f4c authored by 纪泽龙's avatar 纪泽龙

修改题目分数的时候可以填0

parent 4cd00f17
...@@ -2,7 +2,7 @@ ...@@ -2,7 +2,7 @@
* @Author: 纪泽龙 jizelong@qq.com * @Author: 纪泽龙 jizelong@qq.com
* @Date: 2022-09-22 17:56:05 * @Date: 2022-09-22 17:56:05
* @LastEditors: 纪泽龙 jizelong@qq.com * @LastEditors: 纪泽龙 jizelong@qq.com
* @LastEditTime: 2023-01-31 10:12:31 * @LastEditTime: 2023-01-31 14:03:36
* @FilePath: /danger-manage-web/src/views/lessonsProgram/components/QuestionList.vue * @FilePath: /danger-manage-web/src/views/lessonsProgram/components/QuestionList.vue
* @Description: 这是默认设置,请设置`customMade`, 打开koroFileHeader查看配置 进行设置: https://github.com/OBKoro1/koro1FileHeader/wiki/%E9%85%8D%E7%BD%AE * @Description: 这是默认设置,请设置`customMade`, 打开koroFileHeader查看配置 进行设置: https://github.com/OBKoro1/koro1FileHeader/wiki/%E9%85%8D%E7%BD%AE
--> -->
...@@ -293,10 +293,10 @@ export default { ...@@ -293,10 +293,10 @@ export default {
// 如果有一个没写,就不允许保存 // 如果有一个没写,就不允许保存
if ( if (
!( !(
this.bottomFrom.singleChoiceScore > 0 && this.bottomFrom.singleChoiceScore >= 0 &&
this.bottomFrom.multipleChoiceScore > 0 && this.bottomFrom.multipleChoiceScore >= 0 &&
this.bottomFrom.judgmentScore > 0 && this.bottomFrom.judgmentScore >= 0 &&
this.bottomFrom.qualifiedNum > 0 this.bottomFrom.qualifiedNum >= 0
) )
) { ) {
this.$message({ this.$message({
......
...@@ -2,7 +2,7 @@ ...@@ -2,7 +2,7 @@
* @Author: 纪泽龙 jizelong@qq.com * @Author: 纪泽龙 jizelong@qq.com
* @Date: 2022-09-22 17:56:05 * @Date: 2022-09-22 17:56:05
* @LastEditors: 纪泽龙 jizelong@qq.com * @LastEditors: 纪泽龙 jizelong@qq.com
* @LastEditTime: 2023-01-13 16:26:00 * @LastEditTime: 2023-01-31 14:04:09
* @FilePath: /danger-manage-web/src/views/lessonsProgram/components/QuestionList.vue * @FilePath: /danger-manage-web/src/views/lessonsProgram/components/QuestionList.vue
* @Description: 这是默认设置,请设置`customMade`, 打开koroFileHeader查看配置 进行设置: https://github.com/OBKoro1/koro1FileHeader/wiki/%E9%85%8D%E7%BD%AE * @Description: 这是默认设置,请设置`customMade`, 打开koroFileHeader查看配置 进行设置: https://github.com/OBKoro1/koro1FileHeader/wiki/%E9%85%8D%E7%BD%AE
--> -->
...@@ -297,10 +297,10 @@ export default { ...@@ -297,10 +297,10 @@ export default {
// } // }
if ( if (
!( !(
this.bottomFrom.singleChoiceScore > 0 && this.bottomFrom.singleChoiceScore >= 0 &&
this.bottomFrom.multipleChoiceScore > 0 && this.bottomFrom.multipleChoiceScore >= 0 &&
this.bottomFrom.judgmentScore > 0 && this.bottomFrom.judgmentScore >= 0 &&
this.bottomFrom.qualifiedNum > 0 this.bottomFrom.qualifiedNum >= 0
) )
) { ) {
this.$message({ this.$message({
......
...@@ -2,7 +2,7 @@ ...@@ -2,7 +2,7 @@
* @Author: 纪泽龙 jizelong@qq.com * @Author: 纪泽龙 jizelong@qq.com
* @Date: 2022-09-22 17:56:05 * @Date: 2022-09-22 17:56:05
* @LastEditors: 纪泽龙 jizelong@qq.com * @LastEditors: 纪泽龙 jizelong@qq.com
* @LastEditTime: 2023-01-29 10:44:36 * @LastEditTime: 2023-01-31 14:06:08
* @FilePath: /danger-manage-web/src/views/lessonsProgram/components/QuestionList.vue * @FilePath: /danger-manage-web/src/views/lessonsProgram/components/QuestionList.vue
* @Description: 这是默认设置,请设置`customMade`, 打开koroFileHeader查看配置 进行设置: https://github.com/OBKoro1/koro1FileHeader/wiki/%E9%85%8D%E7%BD%AE * @Description: 这是默认设置,请设置`customMade`, 打开koroFileHeader查看配置 进行设置: https://github.com/OBKoro1/koro1FileHeader/wiki/%E9%85%8D%E7%BD%AE
--> -->
...@@ -417,10 +417,10 @@ export default { ...@@ -417,10 +417,10 @@ export default {
// } // }
if ( if (
!( !(
this.bottomFrom.singleChoiceScore > 0 && this.bottomFrom.singleChoiceScore >= 0 &&
this.bottomFrom.multipleChoiceScore > 0 && this.bottomFrom.multipleChoiceScore >= 0 &&
this.bottomFrom.judgmentScore > 0 && this.bottomFrom.judgmentScore >= 0 &&
this.bottomFrom.qualifiedNum > 0 this.bottomFrom.qualifiedNum >= 0
) )
) { ) {
this.$message({ this.$message({
......
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