Commit 3c597dde authored by 李纪文's avatar 李纪文

feat: 刷新组态不出现问题

parent 8d49ec9a
......@@ -115,6 +115,7 @@ const ConfigurationView = (props) => {
let devicesCode = [];
const globalConfig = window.globalConfig || config;
let isClose = false;
console.log(123)
// 子应用包名查找
const widgets = queryProduct(globalConfig?.widgets || [], decodeURI(window.location.pathname));
const _JessibucaObj = {
......@@ -895,11 +896,10 @@ const ConfigurationView = (props) => {
}, [props.name, numerals]);
useEffect(() => {
isClose = false;
return () => {
isClose = true;
}
}, [props.name]);
}, []);
useEffect(() => {
if (!isModalVisible) {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment