提交 968e23db authored 作者: 汪雄's avatar 汪雄

展开面板单一化

上级 2efd450d
...@@ -182,6 +182,13 @@ const handleSwitchChange = (item) => { ...@@ -182,6 +182,13 @@ const handleSwitchChange = (item) => {
break; break;
case '展开一级': case '展开一级':
if (item.enabled) {
subControls.value[1].enabled = false
window.ue5("callBackControlExpendFn", String(JSON.stringify({
type: "SatelliteExpend2",
status: "close"
})));
}
if (window.ue5) { if (window.ue5) {
window.ue5("callBackControlExpendFn", String(JSON.stringify({ window.ue5("callBackControlExpendFn", String(JSON.stringify({
type: "SatelliteExpend1", type: "SatelliteExpend1",
...@@ -195,6 +202,14 @@ const handleSwitchChange = (item) => { ...@@ -195,6 +202,14 @@ const handleSwitchChange = (item) => {
break; break;
case '展开二级': case '展开二级':
if (item.enabled) {
subControls.value[0].enabled = false
window.ue5("callBackControlExpendFn", String(JSON.stringify({
type: "SatelliteExpend1",
status: "close"
})));
}
// siteExpand1.value = true
if (window.ue5) { if (window.ue5) {
window.ue5("callBackControlExpendFn", String(JSON.stringify({ window.ue5("callBackControlExpendFn", String(JSON.stringify({
type: "SatelliteExpend2", type: "SatelliteExpend2",
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论