diff --git a/src/views/dashboard/controls/Tab.vue b/src/views/dashboard/controls/Tab.vue index 4b625e7b..b91d60b0 100644 --- a/src/views/dashboard/controls/Tab.vue +++ b/src/views/dashboard/controls/Tab.vue @@ -266,7 +266,7 @@ export default defineComponent({ } ); - function clickTabs(e: Event, idx: number) { + function clickTabs(e: Event, idx: number) { e.stopPropagation(); activeTabIndex.value = idx; dashboardStore.activeGridItem(props.data.i); @@ -279,6 +279,7 @@ export default defineComponent({ dashboardStore.layout[l].children[activeTabIndex.value].children ); needQuery.value = true; + console.log(dashboardStore.layout[0]) } function removeTab(e: Event) { e.stopPropagation(); diff --git a/src/views/dashboard/panel/Tool.vue b/src/views/dashboard/panel/Tool.vue index 261208e5..1739afc6 100644 --- a/src/views/dashboard/panel/Tool.vue +++ b/src/views/dashboard/panel/Tool.vue @@ -13,112 +13,116 @@ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License. -->