{"ast":null,"code":"import \"core-js/modules/es.array.push.js\";\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n\nimport Axios from \"@/API/assets\";\nexport default {\n data() {\n return {\n active: 1,\n tabList: [{\n id: 1,\n text: this.$t(\"Spot\")\n }, {\n id: 2,\n text: this.$t(\"Contract Delivery\")\n }, {\n id: 4,\n text: this.$t(\"Contract Account\")\n }, {\n id: 5,\n text: this.$t(\"Financial\")\n }]\n };\n },\n methods: {\n // 切换\n activeCheng() {},\n getAssets() {\n Axios.GetAllAssets().then(res => {\n const {\n code,\n data\n } = res;\n if (code) {\n //console.log('总资产数据',data)\n this.funds = data;\n }\n });\n },\n goRouter(parmas) {\n if (parmas === \"/exchange/exchangeHistory\") {\n this.$router.push({\n path: parmas,\n query: {\n type: 1\n }\n });\n } else {\n this.$router.push(parmas);\n }\n }\n }\n};","map":{"version":3,"names":["Axios","data","active","tabList","id","text","$t","methods","activeCheng","getAssets","GetAllAssets","then","res","code","funds","goRouter","parmas","$router","push","path","query","type"],"sources":["src/page/assetsCenter/index.vue"],"sourcesContent":["\n\n\n\n