Commit e872580d by cen

fix: 修复视频bug

1 parent 4d829fec
......@@ -108,7 +108,7 @@
/>
<GeneralPopup ref="calendarGeneralPopup" popupClass="calendarGeneralPopup" :showClose="false" :showTitle="false" @confirm="confirmCalendar">
<template #content>
<uni-calendar class="calendar" :showMonth="false" :date="defaultDate" :startDate="startDate" :endDate="endDate" @change="calendarChange" />
<uni-calendar class="calendar" :showMonth="false" :date="defaultDate" :startDate="startDate" @change="calendarChange" />
</template>
</GeneralPopup>
<GeneralPopup ref="tipsPopup" popupClass="tipsPopup" type="center" :showClose="true" :showTitle="false" :noTitle="true">
......
......@@ -144,7 +144,7 @@ export default {
return
}
}
uni.showLoading({ title: '上传中...' })
uni.showLoading({ title: '上传中...', mask: true })
// 上传所有选择的图片
for (let i = 0; i < res.tempFilePaths.length; i++) {
const url = await uploadFile(res.tempFiles[i], res.tempFilePaths[i])
......@@ -185,7 +185,7 @@ export default {
return
}
}
uni.showLoading({ title: '上传中...' })
uni.showLoading({ title: '上传中...', mask: true })
// 上传所有选择的图片
for (let i = 0; i < res.tempFilePaths.length; i++) {
const url = await uploadFile(res.tempFiles[i], res.tempFilePaths[i])
......@@ -224,7 +224,7 @@ export default {
uni.showToast({ title: '视频上传最大100MB', icon: 'none' })
return
}
uni.showLoading({ title: '上传中...' })
uni.showLoading({ title: '上传中...', mask: true })
// #ifdef H5
const url = await uploadFile(res.tempFile, res.tempFilePath)
// #endif
......@@ -272,7 +272,7 @@ export default {
uni.showToast({ title: '视频上传最大100MB', icon: 'none' })
return
}
uni.showLoading({ title: '上传中...' })
uni.showLoading({ title: '上传中...', mask: true })
// #ifdef H5
const url = await uploadFile(res.tempFile, res.tempFilePath)
// #endif
......
......@@ -659,7 +659,7 @@ export default {
inputType: 'text',
targetKey: 'partAName',
type: 'input',
maxlength: 28,
maxlength: 20,
disabled: false
},
{
......@@ -751,7 +751,7 @@ export default {
targetKey: 'partAName',
type: 'input',
disabled: false,
maxlength: 28
maxlength: 20
},
{
key: 'phone',
......@@ -799,7 +799,8 @@ export default {
}
// 设置当前选中的索引
this.current = this.radioList.findIndex(item => item.value === value)
this.current = this.radioList.findIndex(item => Number(item.value) === value)
console.log('this.current', this.current)
},
blurChange(value, field) {
if (field.key === 'idCard' && value) {
......@@ -996,6 +997,7 @@ export default {
this.$refs.notice.open()
},
prevPage() {
console.log('this.formData:', this.current)
this.comfirmPage = false
this.title = '签约信息'
},
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!