基于vue3.0和element-plus的组件库
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

45 lines
1.4 KiB

2 years ago
<template>
<Index :menus="menus" @updatePwd="pwd => console.log(pwd)" :checkUser="true" username="超级管理员" :closeAble="true">
1 year ago
</Index>
2 years ago
</template>
<script lang="ts" setup>
2 years ago
import { reactive, onMounted, ref } from "vue";
2 years ago
import { useStore } from "vuex";
2 years ago
import { Index, Views } from "noob-mengyxu";
2 years ago
const store = useStore();
const { buff, dictionary, config, permission, role, user, status, log } = Views.menus;
1 year ago
// const menus = [
// {
// i18n: "menu.home", path: "home", icon: "HomeFilled"
// },
// {
// i18n: "menu.operator", path: "operator", icon: "Platform", children: [
// buff, dictionary, config, permission, role, user, status, log
// ]
// },
// {
// i18n: "menu.base", path: "base", icon: "House", children: [
// { i18n: "menu.table", path: "table", icon: "List" },
// { i18n: "menu.form", path: "form", icon: "Postcard" },
// ]
// },
// {
// i18n: "menu.tool", path: "tool", icon: "Tools", children: [
// { i18n: "menu.terminal", path: "terminal", icon: "Platform" },
// { i18n: "menu.color", path: "color", icon: "MagicStick" },
// ]
// }
// ]
const menus = null;
2 years ago
2 years ago
onMounted(() => { });
2 years ago
</script>
2 years ago
<style lang="scss">
2 years ago
// ::v-deep .no-padding .el-dialog__body {
// background-color: black;
// }
2 years ago
</style>