Commit 51031908 authored by wxk's avatar wxk

bug fix

parent 4e5d0bc6
......@@ -722,7 +722,7 @@
//查询充提记录
getRecords(params) {
this.recordsLoading = true;
const Coin = this.checkedCoins ? this.checkedCoins : this.coins;
const Coin = this.checkedCoins.length !== 0 ? this.checkedCoins : this.coins;
const baseParams = {
account: this.robotDetailInfo.account,
coin: Coin,
......@@ -865,6 +865,7 @@
},
watch: {
$route() {
this.robotDetailInfo = JSON.parse(sessionStorage.getItem('robotDetailInfo'));
this.init();
},
robotDetailInfo() {
......
......@@ -329,6 +329,7 @@
this.getRobotList(ListParams);
},
showDetails(index) {
sessionStorage.setItem('robotDetailInfo', JSON.stringify(this.robotList[index]));
this.$router.push(`/monitor/${this.$route.params.name}/RobotDetail`);
},
clickSwitch(val) {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment