From 279b87c61ae1bff17d924bc0aa625473c0fc830b Mon Sep 17 00:00:00 2001
From: YYC <1833023622@qq.com>
Date: 星期四, 08 六月 2023 18:04:17 +0800
Subject: [PATCH] 空调开关和温度显示
---
igds-app/js/admin/inout-out-handle.js | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/igds-app/js/admin/inout-out-handle.js b/igds-app/js/admin/inout-out-handle.js
index 838c9db..05f97b2 100644
--- a/igds-app/js/admin/inout-out-handle.js
+++ b/igds-app/js/admin/inout-out-handle.js
@@ -189,7 +189,7 @@
}])
picker.show(function(SelectedItem) {
console.log(JSON.stringify(SelectedItem));
- if (SelectedItem == 'cameraImg') {
+ if (SelectedItem[0].value == 'cameraImg') {
cameraImg(typeNum);
} else {
galleryImg(typeNum);
@@ -216,7 +216,7 @@
// }])
// picker.show(function(SelectedItem) {
// console.log(JSON.stringify(SelectedItem));
- // if (SelectedItem == 'cameraImg') {
+ // if (SelectedItem[0].value == 'cameraImg') {
// cameraImg(typeNum);
// } else {
// galleryImg(typeNum);
--
Gitblit v1.9.3