From 4434360f8ab86e317f8f9274d129674de18967ff Mon Sep 17 00:00:00 2001 From: modendeveloper Date: Mon, 9 Sep 2024 23:45:06 +0800 Subject: [PATCH] =?UTF-8?q?Fix(=E8=B4=AD=E7=89=A9=E8=BD=A6)=EF=BC=9A?= =?UTF-8?q?=E5=9C=B0=E5=9D=80=E7=BC=96=E8=BE=91=E6=97=A0=E6=B3=95=E7=94=9F?= =?UTF-8?q?=E6=95=88=E9=97=AE=E9=80=80?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- manifest.json | 2 +- pages/cart.vue | 11 ++++++----- 2 files changed, 7 insertions(+), 6 deletions(-) diff --git a/manifest.json b/manifest.json index aad82ac..dd0ef38 100644 --- a/manifest.json +++ b/manifest.json @@ -1,6 +1,6 @@ { "name" : "地标文化特产", - "appid" : "__UNI__281C173", + "appid" : "__UNI__7880B21", "description" : "", "versionName" : "4.0.0", "versionCode" : 4, diff --git a/pages/cart.vue b/pages/cart.vue index c516163..995a938 100644 --- a/pages/cart.vue +++ b/pages/cart.vue @@ -259,7 +259,7 @@ - + + 添加新地址 @@ -328,14 +328,15 @@ export default { }, created() { this.getCart() - this.getAddress() }, onLoad() { - uni.$on('chooseAddress', (res) => { - this.addressInfo = res; - }) + this.getAddress() }, onShow() { + uni.$on('chooseAddress', (res) => { + this.addressInfo = res; + this.$forceUpdate() + }) if (!this.isLoad) { return }