saas添加视频

main
lijingyu007 6 months ago
parent 0afc806e02
commit 25a3fc1fb5
  1. 20
      src/views/components/ToolEdit.vue

@ -64,7 +64,7 @@
/>
</el-form-item>
<el-form-item label="产品视频" prop="vedioPath" v-if="form.deliverType == 'License'">
<el-form-item label="产品视频" prop="vedioPath">
<el-input v-model="form.vedioPath" v-show="false" :limit="1"></el-input>
<nonimage-upload
ref="vedioUpload"
@ -347,9 +347,9 @@ export default {
this.form.functionList = []
this.form.highLightList = []
this.form.isSourcecode = 0
this.$refs.iconUpload.reset()
this.$refs.headUpload.reset()
this.$refs.detailUpload.reset()
this.$refs.iconUpload?.reset()
this.$refs.headUpload?.reset()
this.$refs.detailUpload?.reset()
if (this.form.deliverType == 'License') {
this.$refs.packageUpload.reset()
this.$refs.installDocUpload.reset()
@ -357,8 +357,8 @@ export default {
this.form.installDocFile = []
this.form.mp4File = []
this.form.installDocFile = []
this.$refs.guideDocUpload.reset()
this.$refs.vedioUpload.reset()
this.$refs.guideDocUpload?.reset()
this.$refs.vedioUpload?.reset()
}
},
setImgPath(value) {
@ -503,7 +503,7 @@ export default {
filePath: this.form.packageFile[0].filePath,
},
]
this.$refs.packageUpload.setToolFileList(packageFile)
this.$refs.packageUpload?.setToolFileList(packageFile)
}
if (this.form.installDocFile.length > 0) {
let installDocFile = [
@ -513,7 +513,7 @@ export default {
filePath: this.form.installDocFile[0].filePath,
},
]
this.$refs.installDocUpload.setInstallDocFileList(installDocFile)
this.$refs.installDocUpload?.setInstallDocFileList(installDocFile)
}
// 使
if (this.form.guideDocFile.length > 0) {
@ -524,7 +524,7 @@ export default {
filePath: this.form.guideDocFile[0].filePath,
},
]
this.$refs.guideDocUpload.setInstallDocFileList(guideDocFile)
this.$refs.guideDocUpload?.setInstallDocFileList(guideDocFile)
}
if (this.form.mp4File.length > 0) {
let mp4File = [
@ -534,7 +534,7 @@ export default {
filePath: this.form.mp4File[0].filePath,
},
]
this.$refs.vedioUpload.setInstallDocFileList(mp4File)
this.$refs.vedioUpload?.setInstallDocFileList(mp4File)
}
}
})

Loading…
Cancel
Save