From c1477d973f16828265cf2c134f4404e3041c00b3 Mon Sep 17 00:00:00 2001 From: Agent Date: Sun, 29 Mar 2026 05:22:12 +0000 Subject: [PATCH] =?UTF-8?q?feat:=20=E5=88=9B=E5=BB=BA=E5=AE=A2=E6=88=B7?= =?UTF-8?q?=E6=88=90=E5=8A=9F=E5=90=8E=E8=B7=B3=E8=BD=AC=E5=88=B0=E9=A6=96?= =?UTF-8?q?=E9=A1=B5?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/pages/customer/create.vue | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/pages/customer/create.vue b/src/pages/customer/create.vue index d70a539..2113cc4 100644 --- a/src/pages/customer/create.vue +++ b/src/pages/customer/create.vue @@ -46,7 +46,7 @@ export default { try { await customerApi.createCustomer(this.form) uni.showToast({ title: '添加成功', icon: 'success' }) - setTimeout(() => uni.navigateBack(), 1500) + setTimeout(() => uni.switchTab({ url: '/pages/index/index' }), 1500) } catch (e) { uni.showToast({ title: e.message || '添加失败', icon: 'none' }) }