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/form/index.vue |   14 +++++++-------
 1 files changed, 7 insertions(+), 7 deletions(-)

diff --git a/pages/modal/form/index.vue b/pages/modal/form/index.vue
index 4fa48e1..4214186 100644
--- a/pages/modal/form/index.vue
+++ b/pages/modal/form/index.vue
@@ -133,6 +133,11 @@
 				};
 			},
 		},
+		onReady() {
+			uni.setNavigationBarTitle({
+				title: this.title 
+			}); //璁剧疆椤堕儴鏍囬 
+		},
 		onLoad(options) {
 
 			this.param = JSON.parse(options.param);
@@ -153,11 +158,6 @@
 			if (options.dataJson)
 				this.data_json = JSON.parse(options.dataJson);
 			this.title = options.titlename ? options.titlename : this.param.ShowName; //璁剧疆鎸夐挳鏂囧瓧
-			// console.log(options)
-			uni.setNavigationBarTitle({
-				title: this.title
-			}); //璁剧疆椤堕儴鏍囬 
-
 			if (this.clsId) {
 				this.loadData(objAttr)
 			} else {
@@ -717,7 +717,7 @@
 					showError(ex, this.translateSys('tip') + "4.2")
 				}
 			},
-			async onFormEventResult(data, button_callback, item) {
+			async onFormEventResult(data, button_callback, item,req) {
 				try {
 					const $this = this
 					var enviroment = {
@@ -1262,7 +1262,7 @@
 				console.log(dataInfo);
 				// return;
 				runCustomEvent(dataInfo).then(data => {
-					$this.onFormEventResult(data, button_callback, item)
+					$this.onFormEventResult(data, button_callback, item,req)
 
 				}).catch(ex => {
 					showError(ex, this.translateSys('tip') + "5.1")

--
Gitblit v1.9.1