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
0c13c788
Commit
0c13c788
authored
Sep 18, 2024
by
李纪文
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
feat: 修改password名称问题
parent
35a6e993
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
4 additions
and
8 deletions
+4
-8
RealModel.js
...s/extend-components/EC_ConfigurationView/src/RealModel.js
+1
-1
configuration_custom.js
...mponents/EC_ConfigurationView/src/configuration_custom.js
+1
-2
index.js
packages/extend-components/EC_HistoryView/src/index.js
+2
-5
No files found.
packages/extend-components/EC_ConfigurationView/src/RealModel.js
View file @
0c13c788
...
...
@@ -996,7 +996,7 @@ const ConfigurationView = (props) => {
mqttView = devicesCode.length
? new MqttView({
userName: globalConfig?.mqtt_account || '',
password: globalConfig?.mqtt_
password
|| '',
password: globalConfig?.mqtt_
cyphers
|| '',
mqttIP: globalConfig.mqtt_iotIP,
mqttPath: globalConfig.mqtt_path,
mqttSsl: globalConfig.mqtt_IsSSL,
...
...
packages/extend-components/EC_ConfigurationView/src/configuration_custom.js
View file @
0c13c788
...
...
@@ -1000,7 +1000,7 @@ const ConfigurationView = (props) => {
mqttView = devicesCode.length
? new MqttView({
userName: globalConfig?.mqtt_account || '',
password: globalConfig?.mqtt_
password
|| '',
password: globalConfig?.mqtt_
cyphers
|| '',
mqttIP: globalConfig.mqtt_iotIP,
mqttPath: globalConfig.mqtt_path,
mqttSsl: globalConfig.mqtt_IsSSL,
...
...
@@ -1011,7 +1011,6 @@ const ConfigurationView = (props) => {
controlback: controlData,
})
: null;
const diagramJson = typeof fromJson === '
string
' ? fromJson : JSON.stringify(fromJson);
diagramRender(diagramJson, list);
setNoInitial(false);
...
...
packages/extend-components/EC_HistoryView/src/index.js
View file @
0c13c788
...
...
@@ -3,7 +3,7 @@
* 非influxdb版本的接口,使用isDilute=false实现;
* 建议:不抽稀的时候,传isDilute=false&zoom=''&unit=''
* */
import
React
,
{
useContext
,
useEffect
,
useMemo
,
useState
,
useCallback
,
useRef
}
from
'react'
;
impor
impor
t
React
,
{
useContext
,
useEffect
,
useMemo
,
useState
,
useCallback
,
useRef
}
from
'react'
;
import
PropTypes
from
'prop-types'
;
import
classNames
from
'classnames'
;
import
{
...
...
@@ -620,7 +620,7 @@ const HistoryView = (props) => {
当前时间
:
()
=>
{
return
[
dates
?.[
0
]
||
moment
(
moment
().
format
(
'YYYY-MM-DD 00:00:00'
)),
moment
(
moment
())
moment
(
moment
())
,
];
},
}
...
...
@@ -1668,6 +1668,3 @@ HistoryView.defaultProps = {
needMarkLine
:
true
,
defaultDate
:
'day'
,
BIMode
:
false
};
export
default
HistoryView
;
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