安全教育bug修复

This commit is contained in:
骆乐 2022-09-16 11:37:40 +08:00
parent 99d79d228f
commit 365c90a47b
2 changed files with 3 additions and 3 deletions

View File

@ -17,7 +17,7 @@ var PROJECT = {
}
var PROJECT_TYPE = PROJECT.online_zjsj
var PROJECT_TYPE = PROJECT.local_test
var headerShow = true; // 是否显示头部
var tabsShow = true; // 是否显示tabs

View File

@ -48,12 +48,12 @@
<!-- 课程视频 -->
<el-form-item :label="$t('message.safetyEducation.courseVideo')" prop="eduVideo">
<!-- <el-input v-model="ruleForm.eduVideo"></el-input> -->
<el-upload :disabled="eduVideo!=''"
<el-upload :disabled="eduId!=''"
class="upload-demo" name="files"
:action="$store.state.UPLOADURL"
:on-success="handleSuccess"
:show-file-list="false" accept="video/mp4">
<el-button size="small" type="primary" v-show="eduVideo==''">
<el-button size="small" type="primary" v-show="eduId==''">
<!-- 点击上传 -->
{{ $t('message.safetyEducation.clickUpload') }}
</el-button>