feat: active widget on the tab

This commit is contained in:
Qiuxia Fan
2022-01-10 14:43:07 +08:00
parent d41ace3580
commit cce5a8826c
3 changed files with 56 additions and 27 deletions

View File

@@ -55,6 +55,7 @@ export default defineComponent({
dashboardStore.setLayout(newLayout);
}
function clickGrid(item: LayoutConfig) {
console.log(item);
dashboardStore.activeGridItem(item.i);
}
return {