部分修改

This commit is contained in:
@fawn-nine
2023-09-18 09:56:32 +08:00
parent f70683c755
commit 61a39a79ed
2 changed files with 7 additions and 4 deletions

View File

@@ -33,9 +33,8 @@
<!-- <i class="el-icon-plus"></i> -->
<el-button slot="trigger" size="small" type="primary">上传文件</el-button>
</el-upload>
<!-- <el-progress v-show="progressFlag" :percentage="progressPercent"></el-progress> -->
<!-- 进度条 -->
<!-- <el-progress v-show="progressFlag" :percentage="progressPercent"></el-progress> -->
<el-progress v-show="progressFlag" :percentage="progressPercent"></el-progress>
<!-- <audio controls="controls" hidden src="./static/audio/tsy.wav" ref="audio"></audio> -->
<audio id="resource" :src="dataForm.voices" controls v-show='true'></audio>
</el-form-item>
@@ -124,6 +123,8 @@ import global from '../../common/common.vue' //引入共用组间
this.$refs.dataForm.resetFields()
this.loading = false
this.fileListVoices = []
this.progressFlag = false
},
init (id) {
this.dataForm.id = id || 0

View File

@@ -393,6 +393,8 @@
this.swiperfileList = []
this.$refs['dataForm'].resetFields()
this.dataForm.productDetails = ''
this.progressFlag = false
this.loading = false
// this.$refs['dataForm'].reset()
},
// 失去焦点事件