fix: update loading

This commit is contained in:
Qiuxia Fan
2022-01-11 15:36:40 +08:00
parent d4dedecd1b
commit 51103ac6ae
8 changed files with 37 additions and 58 deletions

View File

@@ -30,7 +30,6 @@ limitations under the License. -->
:i="item.i"
:key="item.i"
@click="clickGrid(item)"
@resized="resizedEvent"
:class="{ active: dashboardStore.activedGridItem === item.i }"
>
<component
@@ -58,14 +57,10 @@ export default defineComponent({
function clickGrid(item: LayoutConfig) {
dashboardStore.activeGridItem(item.i);
}
function resizedEvent() {
console.log("test");
}
return {
dashboardStore,
layoutUpdatedEvent,
clickGrid,
resizedEvent,
};
},
});