mirror of
https://codeup.aliyun.com/67762337eccfc218f6110e0e/vue/learning-system-portal.git
synced 2025-12-10 11:26:43 +08:00
Merge branch 'zcwy_0806_paihangb' into dev0515
This commit is contained in:
@@ -170,7 +170,7 @@
|
|||||||
<el-table-column prop="duration" label="时长(分)" width="100">
|
<el-table-column prop="duration" label="时长(分)" width="100">
|
||||||
<template slot-scope="scope">
|
<template slot-scope="scope">
|
||||||
<!-- <el-input type="number" :stpe="1" min="0" size="small" step-strictly v-model="scope.row.minute"></el-input> -->
|
<!-- <el-input type="number" :stpe="1" min="0" size="small" step-strictly v-model="scope.row.minute"></el-input> -->
|
||||||
<el-input-number style="width: 78px;" controls-position="right" size="small" :min="0" v-model="scope.row.minute" :step="1" step-strictly></el-input-number>
|
<el-input-number style="width: 78px;" :max="999" controls-position="right" size="small" :min="0" v-model="scope.row.minute" :step="1" step-strictly></el-input-number>
|
||||||
</template>
|
</template>
|
||||||
</el-table-column>
|
</el-table-column>
|
||||||
<el-table-column label="可见性" width="100">
|
<el-table-column label="可见性" width="100">
|
||||||
@@ -657,7 +657,7 @@ export default {
|
|||||||
if(item.name == ''){
|
if(item.name == ''){
|
||||||
this.$message.error('课件名称不能为空');
|
this.$message.error('课件名称不能为空');
|
||||||
return true;
|
return true;
|
||||||
}else if(item.minute==''||item.minute == 0){
|
}else if(!item.minute||item.minute == undefined){
|
||||||
this.$message.error('时长不能为空并且不能为0');
|
this.$message.error('时长不能为空并且不能为0');
|
||||||
return true;
|
return true;
|
||||||
}else{
|
}else{
|
||||||
|
|||||||
Reference in New Issue
Block a user