Commit bf854654 by tangjiale

限制

parent 36939150
......@@ -3,7 +3,7 @@
* @eMail: 932055106@qq.com
* @Date: 2022-06-06 09:28:37
* @LastEditors: tangjiale
* @LastEditTime: 2022-06-30 11:31:14
* @LastEditTime: 2022-07-05 11:04:48
-->
<template>
<div class="add-course-bg">
......@@ -234,6 +234,10 @@ export default {
status:that.param.status == 1 ? 1 : form, //0未发布 1已发布
schIds:that.checkList.join(','),
}
if(param.cost <= 0){
that.$message.error('课程价格不能小于等于0')
return
}
//单位:分
param.cost = param.cost * 100
param.courseDefNum = param.courseDefNum || 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