Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wisdom-components
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
ReactWeb5
wisdom-components
Commits
19d6ea41
Commit
19d6ea41
authored
Jul 06, 2023
by
李纪文
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix: 组态兼容小程序
parent
ffb85185
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
8 additions
and
1 deletion
+8
-1
RealModel.js
...s/extend-components/EC_ConfigurationView/src/RealModel.js
+8
-1
No files found.
packages/extend-components/EC_ConfigurationView/src/RealModel.js
View file @
19d6ea41
...
...
@@ -84,6 +84,7 @@ const ConfigurationView = (props) => {
const
[
videoTitle
,
setVideoTitle
]
=
useState
(
''
);
twoID
=
`TDG
${
Date
.
now
().
toString
(
36
)}
`
;
const
navigatorAgent
=
/
(
iPhone|iOS|Android|Windows Phone
)
/i
.
test
(
navigator
.
userAgent
);
const
AdjustControlInput
=
useRef
();
const
AuthorFrom
=
useRef
();
const
ConfigurationRef
=
useRef
();
...
...
@@ -865,7 +866,7 @@ const ConfigurationView = (props) => {
mqttIP: globalConfig.mqtt_iotIP,
mqttPath: globalConfig.mqtt_path,
mqttSsl: globalConfig.mqtt_IsSSL,
siteCode: globalConfig
.mqtt_mess.site_code
,
siteCode: globalConfig
?.mqtt_mess?.site_code || ''
,
devices: devicesCode,
callback: refreshData,
controlback: controlData,
...
...
@@ -1710,6 +1711,7 @@ const ConfigurationView = (props) => {
),
{
click(e, node) {
if (navigatorAgent) return false;
const { data } = node;
nodeData = data;
const list = bindData.find((item) => {
...
...
@@ -1772,6 +1774,7 @@ const ConfigurationView = (props) => {
),
{
click(e, node) {
if (navigatorAgent) return false;
const { data } = node;
nodeData = data;
const list = bindData.find((item) => {
...
...
@@ -1913,6 +1916,7 @@ const ConfigurationView = (props) => {
),
{
click(e, node) {
if (navigatorAgent) return false;
const { data } = node;
nodeData = data;
const list = bindData.find((item) => {
...
...
@@ -1987,6 +1991,7 @@ const ConfigurationView = (props) => {
),
{
click(e, node) {
if (navigatorAgent) return false;
const { data } = node;
nodeData = data;
const list = bindData.find((item) => {
...
...
@@ -2128,6 +2133,7 @@ const ConfigurationView = (props) => {
),
{
click(e, node) {
if (navigatorAgent) return false;
const { data } = node;
nodeData = data;
const list = bindData.find((item) => {
...
...
@@ -2462,6 +2468,7 @@ const ConfigurationView = (props) => {
),
{
click(e, node) {
if (navigatorAgent) return false;
const { data } = node;
nodeData = data;
const list = bindData.find((item) => {
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment