From 01fa158740467ca0db83b131249beeeb515a73c2 Mon Sep 17 00:00:00 2001
From: cuiqian2004 <cuiqian2004@163.com>
Date: 星期二, 01 四月 2025 16:03:57 +0800
Subject: [PATCH] test

---
 pages/modal/small-wnd/index.vue |   16 +++++++++-------
 1 files changed, 9 insertions(+), 7 deletions(-)

diff --git a/pages/modal/small-wnd/index.vue b/pages/modal/small-wnd/index.vue
index 5eee0e3..4fdd1ee 100644
--- a/pages/modal/small-wnd/index.vue
+++ b/pages/modal/small-wnd/index.vue
@@ -287,7 +287,9 @@
 </template>
 
 <script>
-	import Base64 from '../../components/js-base64/base64.js'
+	import {
+		Base64
+	} from  '@/js/Base64.js';
 	import pickerAddress from '../../js/pickerAddress/pickerAddress.vue'
 	import utils from "@/js/utils.js"
 	import {
@@ -312,7 +314,7 @@
 		onBackPress(e) {
 			// console.log("鐩戝惉杩斿洖鎸夐挳浜嬩欢",e);
 			if (this.type) {
-				var eventChannel = this.$scope.eventChannel;
+				const eventChannel = this.getOpenerEventChannel();
 				// const eventChannel = this.getOpenerEventChannel();
 				eventChannel.emit(this.type, "");
 			}
@@ -1060,7 +1062,7 @@
 			},
 			cancel(e) {
 				if (this.type) {
-					var eventChannel = this.$scope.eventChannel;
+					const eventChannel = this.getOpenerEventChannel();
 					// const eventChannel = this.getOpenerEventChannel();
 					eventChannel.emit(this.type, "");
 				}
@@ -1094,7 +1096,7 @@
 				// console.log(e.target);
 				var value = this.$data.classAttrList[e.target.dataset['index']].Attr[e.target.dataset['iindex']]
 					.dictitem[e
-						.target.value];
+						.detail.value];
 				var data_attr = this.$data.classAttrList[e.target.dataset['index']].Attr[e.target.dataset[
 					'iindex']];
 				// console.log(data_attr);
@@ -1210,9 +1212,9 @@
 				var data_attr = this.$data.classAttrList[e.target.dataset['index']].Attr[e.target.dataset[
 					'iindex']];
 				// console.log(decodedata);
-				if (e.target.value != data_attr.Value) {
+				if (e.detail.value != data_attr.Value) {
 					this.$data.classAttrList[e.target.dataset['index']].Attr[e.target.dataset['iindex']].Value =
-						decodedata ? decodedata : e.target.value;
+						decodedata ? decodedata : e.detail.value;
 					var eventid = this.$data.classAttrList[e.target.dataset['index']].Attr[e.target.dataset[
 							'iindex']]
 						.action;
@@ -1346,7 +1348,7 @@
 					showCancel: false,
 					confirmText: this.translateSys('cancel')
 				});
-				// var value=this.$data.classAttrList[e.target.dataset['index']].Attr[e.target.dataset['iindex']].RelCls[e.target.value];
+				// var value=this.$data.classAttrList[e.target.dataset['index']].Attr[e.target.dataset['iindex']].RelCls[e.detail.value];
 				// this.$data.classAttrList[e.target.dataset['index']].Attr[e.target.dataset['iindex']].Value=value;
 			},
 			classAttr_AddPrj(index, iindex) {

--
Gitblit v1.9.1