From e7731f1cf08331d23cd0d27549025a2642caa9ab Mon Sep 17 00:00:00 2001 From: xuxueyang <xuxy@fengyuntec.com> Date: 星期三, 24 七月 2024 18:58:39 +0800 Subject: [PATCH] update todo还差个订单详情的商品列表展示 --- mixin/mixin.js | 11 +++++++---- 1 files changed, 7 insertions(+), 4 deletions(-) diff --git a/mixin/mixin.js b/mixin/mixin.js index f197668..4ad4309 100644 --- a/mixin/mixin.js +++ b/mixin/mixin.js @@ -258,9 +258,9 @@ } return true }, - async refreshList() { + async refreshList(type = 'get') { this.page.current = 1 - await this.getList() + await this.getList(type) }, async getList(type = 'get') { if (this.listApi) { @@ -294,6 +294,9 @@ } this.page.total = data.total || 0 + if (this.getList_after) { + this.getList_after() + } } this.$message.hideLoading() } @@ -495,9 +498,9 @@ // #ifdef PUB_CUSTOMER , async submitShopping(dto) { - //提交到购物车中 + //提交到购物车中 this.$message.showLoading() - await this.$store.dispatch('submitShopping',dto); + await this.$store.dispatch('submitShopping', dto); this.$message.hideLoading() } // #endif -- Gitblit v1.9.3