Commit f0da8a54 by 王志慧

fixed

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