From 672b528f221a8391fd725bad6002750cb8fa6a61 Mon Sep 17 00:00:00 2001 From: hdx Date: Tue, 17 Oct 2023 17:31:50 +0800 Subject: [PATCH] =?UTF-8?q?chore(unicloud-db-contacts)=EF=BC=9A=E4=BF=AE?= =?UTF-8?q?=E6=94=B9=E6=96=B9=E6=B3=95=E5=90=8D=EF=BC=8C=E8=AE=A9=E5=90=8D?= =?UTF-8?q?=E7=A7=B0=E5=92=8C=E5=8A=9F=E8=83=BD=E5=8C=B9=E9=85=8D=EF=BC=9B?= =?UTF-8?q?=E7=A7=BB=E9=99=A4=E6=97=A0=E6=95=88=E4=BA=8B=E4=BB=B6?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- pages/component/unicloud-db-contacts/detail.uvue | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/pages/component/unicloud-db-contacts/detail.uvue b/pages/component/unicloud-db-contacts/detail.uvue index d930f208..68ab58c1 100644 --- a/pages/component/unicloud-db-contacts/detail.uvue +++ b/pages/component/unicloud-db-contacts/detail.uvue @@ -25,7 +25,7 @@ 性别 {{displayGender(data[0]['gender'])}} - + @@ -66,16 +66,13 @@ return item.value == str })!.text; }, - updateAt(id : string | null) { + gotoUpdatePage(id : string | null) { // TODO 后续通过 EventChannel 实现 uni.$on(UNICLOUD_DB_CONTACTS_UPDATE, this.onDataChange); uni.navigateTo({ url: './edit?id=' + id }) }, - onQueryLoad(data : Array, _ : boolean, pagination : UTSJSONObject) { - const data1 = data[0]; - }, onDataChange(id : string) { this.$uniCloudElement!.loadData() } -- GitLab