|
|
|
@ -1492,7 +1492,7 @@ export default { |
|
|
|
}, |
|
|
|
// 获取可开启张数 |
|
|
|
openNum(e) { |
|
|
|
if (!this.isLogin) return; |
|
|
|
// if (!this.isLogin) return; |
|
|
|
let data = { |
|
|
|
symbol: this.symbolLeft, //ETH |
|
|
|
lever_rate: this.form.lever_rate, //10 |
|
|
|
@ -1509,6 +1509,7 @@ export default { |
|
|
|
} |
|
|
|
// console.log('111111111111', this.leverShow, this.form.lever_rate); |
|
|
|
} |
|
|
|
if (!this.isLogin) return; |
|
|
|
Contract.openNum(data, {toast: false}).then((res) => { |
|
|
|
this.maxNum = res.data; |
|
|
|
}); |
|
|
|
|