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/5602.vue |   18 ++++++++++--------
 1 files changed, 10 insertions(+), 8 deletions(-)

diff --git a/pages/modal/5602.vue b/pages/modal/5602.vue
index bd0ddce..1af3b47 100644
--- a/pages/modal/5602.vue
+++ b/pages/modal/5602.vue
@@ -38,7 +38,7 @@
 				<!-- 椤电 -->
 				<view class="dv-tab">
 					<uni-segmented-control :current="current" :values="items" @clickItem="onClickItem"
-						styvarype="button">
+						styvarype="text">
 					</uni-segmented-control>
 				</view>
 				<swiper class="view-tabpage" :current="current" @change="changeSwiper">
@@ -210,7 +210,8 @@
 		dataObjCreate,
 		dataObjDel
 	} from "@/api/data.js"
-
+import {showInfo,
+		showError} from "@/js/Page.js"
 	export default {
 		data() {
 			return {
@@ -251,11 +252,13 @@
 				popupParam: {},
 			};
 		},
+		onReady() {
+			uni.setNavigationBarTitle({
+				title: this.title 
+			}); //璁剧疆椤堕儴鏍囬 
+		},
 		onLoad(options) {
 			// console.log(options);
-			uni.setNavigationBarTitle({
-				title: options.titlename
-			}); //璁剧疆椤堕儴鏍囬 
 			this.title = options.titlename;
 			this.param = JSON.parse(options.param);
 			// console.log(this.param);
@@ -1056,8 +1059,8 @@
 			},
 			setFormValues(attrs) {
 				const head_styledef = this.head_styledef
-				if (JSON.stringify(attrs) == '{}') {
-					return;
+				if (!Array.isArray(attrs)) {
+					return
 				}
 				console.log(attrs)
 				attrs.forEach(async (attr, key) => {
@@ -2700,7 +2703,6 @@
 						this.okLoading = false
 					else if (type == "2")
 						this.ok2Loading = false
-
 					let tip = typeof ex.errMsg == "string" ? ex.errMsg : ex
 					uni.showModal({
 						title: this.translateSys("error") + "8.1",

--
Gitblit v1.9.1