开发环境下,管理后台每个菜单展示对应的《开发文档》的说明

This commit is contained in:
YunaiV
2022-03-19 19:29:35 +08:00
parent 5266c6b1d5
commit efe4200181
22 changed files with 78 additions and 5 deletions

View File

@ -0,0 +1,25 @@
<template>
<el-alert v-if="enable()" :title="'【' + title + '】文档地址:' + url" type="success" show-icon />
</template>
<script>
import {getDocEnable} from "@/utils/ruoyi";
export default {
name: "DocAlert",
props: {
title: String,
url: String,
},
methods: {
enable: function () {
return getDocEnable();
}
}
};
</script>
<style scoped>
.el-alert--success.is-light {
margin-bottom: 10px;
}
</style>