|
@@ -62,8 +62,7 @@
|
|
|
</div>
|
|
|
<div class="dia-bot">
|
|
|
<el-button type="primary" plain style="margin-right:20px;min-width:120px ;" @click="cancelHandle">取消</el-button>
|
|
|
- <el-button type="primary" @click="saveHandle" style="min-width:120px;" >开始转写</el-button>
|
|
|
- <!-- :disabled="fileList.length==0" -->
|
|
|
+ <el-button type="primary" @click="saveHandle" style="min-width:120px;" :disabled="fileList.length==0">开始转写</el-button>
|
|
|
</div>
|
|
|
<!-- :http-request="handleUpload"
|
|
|
:before-upload="handleBeforeUpload" -->
|
|
@@ -275,9 +274,6 @@ import MD5 from "js-md5";
|
|
|
this.$emit("update:diaShow",false)
|
|
|
},
|
|
|
saveHandle(){
|
|
|
- this.$emit("uploadSuccess")
|
|
|
- this.$emit("update:diaShow",false)
|
|
|
- return
|
|
|
if(this.uploadingFileNames && this.uploadingFileNames.length>0){
|
|
|
return this.$message.error("还有音/视频未上传完成,请等待上传成功后再转写!")
|
|
|
}
|