|
|
|
@ -863,7 +863,7 @@ export default { |
|
|
|
watch: { |
|
|
|
maxNum(n){ |
|
|
|
this.form.amount = Math.round((this.maxNum * this.sliderActive1) / 100); |
|
|
|
this.margin=Math.round(this.form.amount/this.form.lever_rate) |
|
|
|
this.margin=(this.form.amount/this.form.lever_rate) |
|
|
|
}, |
|
|
|
symbol() { |
|
|
|
this.$emit("symbols",this.symbol) |
|
|
|
@ -1358,7 +1358,7 @@ export default { |
|
|
|
this.form.amount = Math.round((this.maxNum * n) / 100); |
|
|
|
this.sliderActive=i |
|
|
|
this.sliderActive1=n |
|
|
|
this.margin=Math.round(this.form.amount/this.form.lever_rate) |
|
|
|
this.margin=(this.form.amount/this.form.lever_rate) |
|
|
|
}, |
|
|
|
pingChange(n,i) { |
|
|
|
console.log(n) |
|
|
|
|