From f0ed0a02286246080fe92f6855bf2ee9b2dea2c6 Mon Sep 17 00:00:00 2001 From: xuxueyang <xuxy@fengyuntec.com> Date: 星期日, 08 九月 2024 01:19:33 +0800 Subject: [PATCH] update 销量问题 --- sub_pages/customer/self/history.vue | 16 ++++++++-------- 1 files changed, 8 insertions(+), 8 deletions(-) diff --git a/sub_pages/customer/self/history.vue b/sub_pages/customer/self/history.vue index 1664760..f855a3b 100644 --- a/sub_pages/customer/self/history.vue +++ b/sub_pages/customer/self/history.vue @@ -26,7 +26,7 @@ }, onLoad() { this.listApi = '/api/browse/history/list' - this.page.size =30 + this.page.size = 30 this.getList() this.$http.request('get', '/api/code/value', { @@ -55,13 +55,13 @@ }) }) }, - onShow() { - // 页面显示时重新加载浏览记录数据 - this.listApi = '/api/browse/history/list' - this.page.size =30 - this.getList() - }, - + onShow() { + // 页面显示时重新加载浏览记录数据 + this.listApi = '/api/browse/history/list' + this.page.size = 30 + this.refreshList() + }, + methods: { async deleteExpired() { -- Gitblit v1.9.3