Browse Source

新增提币记录中的撤销按钮1

master
liaoxinyu 2 years ago
parent
commit
7d754d17f9
  1. 5
      pages/assets/records.vue

5
pages/assets/records.vue

@ -41,8 +41,8 @@
<span class="color-default">({{ item.coin_name }})</span>
</td>
<td class="" v-if="item.status==0">
<button style="color: black;background-color: red;width: 60px;height: 30px;font-size: 12px;"
@click="cancelWithdraw(item)">{{$t('exchange.g4')}}</button>
<span style="color: #4381F6;width: 60px;height: 30px;font-size: 12px;"
@click="cancelWithdraw(item)">{{$t('exchange.g4')}}</span>
</td>
</tr>
<!-- <tr v-if="loadMore">
@ -89,6 +89,7 @@ import formData from "@/utils/class/date";
page: this.page,
};
Wallet.withdrawalRecord(data).then((res) => {
console.log(res,'完整数据');
if (res.data.current_page == 1) this.list = [];
let list = [...this.list, ...res.data.data];//
this.list.splice(0,this.list.length,...list);

Loading…
Cancel
Save