|
|
@@ -83,9 +83,9 @@
|
|
|
network.getData('bonus/other').then(response => {
|
|
|
vueObj.tableData = response.tableData
|
|
|
vueObj.tableKey = response.tableKey
|
|
|
- vueObj.welcomeBonusSwitch = response.bonusSwitch.welcomeBonusSwitch
|
|
|
- vueObj.teamBonusSwitch = response.bonusSwitch.teamBonusSwitch
|
|
|
- vueObj.stockistCommissionSwitch = response.bonusSwitch.stockistCommissionSwitch
|
|
|
+ vueObj.welcomeBonusSwitch = parseInt(response.bonusSwitch.welcomeBonusSwitch)
|
|
|
+ vueObj.teamBonusSwitch = parseInt(response.bonusSwitch.teamBonusSwitch)
|
|
|
+ vueObj.stockistCommissionSwitch = parseInt(response.bonusSwitch.stockistCommissionSwitch)
|
|
|
vueObj.loading = false
|
|
|
}).catch(response => {
|
|
|
vueObj.loading = false
|