feat: add contextmenu components

This commit is contained in:
xiaoxian521
2021-05-07 22:28:38 +08:00
parent c10e38cdf2
commit 7ed66b321d
10 changed files with 315 additions and 13 deletions

View File

@@ -0,0 +1,34 @@
<template>
<div style="margin:10px">
<el-row :gutter="24">
<el-col :xs="24" :sm="10" :md="10" :lg="8" :xl="10">
<!-- 基本使用 -->
<basic />
</el-col>
<el-col :xs="24" :sm="10" :md="10" :lg="8" :xl="10">
<!-- 按钮组 -->
<menuGroup />
</el-col>
<el-col :xs="24" :sm="10" :md="10" :lg="8" :xl="10">
<!-- 动态菜单 -->
<menuDynamic />
</el-col>
</el-row>
</div>
</template>
<script lang="ts">
import basic from "./basic.vue";
import menuGroup from "./menuGroup.vue";
import menuDynamic from "./menuDynamic.vue";
export default {
components: {
basic,
menuGroup,
menuDynamic
},
setup() {
return {};
}
};
</script>