Commit f0da8a54 by 王志慧

fixed

1 parent bffb04cf
......@@ -190,7 +190,7 @@ export default {
data() {
return {
loading: false,
activePage: 2,
activePage: 1,
templateList: [],
couponList: [],
afterRangePickerOptions,
......@@ -355,7 +355,6 @@ export default {
}
]
this.disabled = true
console.log(this.configForm, 'this.configForm')
} catch (error) {
this.$message.error(error)
}
......@@ -453,7 +452,6 @@ export default {
this.imageUrl = URL.createObjectURL(file.raw)
},
handleImgChange(e, index) {
console.log(e, index)
this.$notify({
title: '提示',
message: '图片上传中,请稍后'
......@@ -480,9 +478,7 @@ export default {
message: '图片上传成功',
type: 'success'
})
console.log(res)
this.configForm.awardList[index].picture = res
console.log(this.configForm.awardList)
}
e.target.value = ''
this.$refs.uploadImg.value = ''
......@@ -524,7 +520,6 @@ export default {
totalNum += item.total
})
this.configForm.awardList.forEach(item => {
console.log(item.total)
item.probability = item.total ? BigNumber(item.total).div(totalNum).times(100).dp(2).toNumber() : ''
})
},
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!