| | |
| | | router.push("/trading/spreads-swaps-commissions"); |
| | | }; |
| | | const getSymbol = () => { |
| | | console.log('getSymbol') |
| | | API.url("wap/api/item!list.action", {}).then((res) => { |
| | | allSymbol.value = res.data |
| | | .map((val) => { |
| | | return val.symbol; |
| | | }) |
| | | .join(","); |
| | | getList(); |
| | | }).catch((err) => { |
| | | console.log(err) |
| | | }); |
| | | console.log("getSymbol"); |
| | | API.url("wap/api/item!list.action", {}) |
| | | .then((res) => { |
| | | allSymbol.value = res.data |
| | | .map((val) => { |
| | | return val.symbol; |
| | | }) |
| | | .join(","); |
| | | getList(); |
| | | }) |
| | | .catch((err) => { |
| | | console.log(err); |
| | | }); |
| | | }; |
| | | const getList = () => { |
| | | API.url("wap/api/hobi!getRealtime.action", { symbol: allSymbol.value }).then( |