xiaoming bc1bd23e80
feat: 完善系统管理-用户管理页面 (#688)
* feat: 完善系统管理-用户管理页面

* feat: 上传头像

* feat: 重置密码

* feat: 分配角色

* chore: update type

* chore: done
2023-08-29 11:18:00 +08:00

61 lines
1.6 KiB
Vue
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

<script setup lang="ts">
import intro from "intro.js";
import "intro.js/minified/introjs.min.css";
defineOptions({
name: "Guide"
});
const guide = () => {
intro()
.setOptions({
steps: [
{
element: document.querySelector("#header-notice") as
| string
| HTMLElement,
title: "消息通知",
intro: "您可以在这里查看管理员发送的消息",
position: "left"
},
{
element: document.querySelector("#header-translation") as
| string
| HTMLElement,
title: "国际化",
intro: "您可以在这里进行语言切换",
position: "left"
},
{
element: document.querySelector(".set-icon") as string | HTMLElement,
title: "项目配置",
intro: "您可以在这里查看项目配置",
position: "left"
},
{
element: document.querySelector(".tags-view") as string | HTMLElement,
title: "多标签页",
intro: "这里是您访问过的页面的历史",
position: "bottom"
}
]
})
.start();
};
</script>
<template>
<el-card shadow="never">
<template #header>
<div class="card-header">
<span class="font-medium">
引导页对于一些第一次进入项目的人很有用你可以简单介绍下项目的功能
</span>
</div>
</template>
<el-button type="primary" class="mt-[10px]" @click="guide">
打开引导页
</el-button>
</el-card>
</template>