From 07925905f1a596e20e980de6d42db217abb753b0 Mon Sep 17 00:00:00 2001
From: cuiqian2004 <cuiqian2004@163.com>
Date: 星期五, 12 十二月 2025 18:06:11 +0800
Subject: [PATCH] plugin

---
 pages/modal/3200_view.vue |   19 +++++++++++++++----
 1 files changed, 15 insertions(+), 4 deletions(-)

diff --git a/pages/modal/3200_view.vue b/pages/modal/3200_view.vue
index ffb290d..c12b727 100644
--- a/pages/modal/3200_view.vue
+++ b/pages/modal/3200_view.vue
@@ -98,13 +98,16 @@
 				},
 			};
 		},
+		onReady() {
+			uni.setNavigationBarTitle({
+				title: this.title 
+			}); //璁剧疆椤堕儴鏍囬 
+		},
 		async onLoad(options) {
 			// console.log(options);
 			try {
 				showLoading("loading...")
-				uni.setNavigationBarTitle({
-					title: options.titlename
-				}); //璁剧疆椤堕儴鏍囬 
+			
 				this.title = options.titlename;
 				this.param = JSON.parse(options.param);
 				console.log(this.param);
@@ -385,7 +388,15 @@
 				})
 			},
 			//澶勭悊鐩稿叧鎸夐挳
-			async onButtonClicked(btn) {
+			onButtonClicked(btn) {
+				this.handleButtonClick((done) => {
+					this.buttonClicked(btn);
+					setTimeout(() => {
+						done(); // 閲嶇疆鐘舵�
+					}, 1000);
+				});
+			},
+			async buttonClicked(btn) {
 				var style = this.styleDef || '';
 
 				try {

--
Gitblit v1.9.1