mirror of
https://gitee.com/hhyykk/ipms-sjy.git
synced 2025-07-13 10:35:07 +08:00
开发环境下,管理后台每个菜单展示对应的《开发文档》的说明
This commit is contained in:
25
yudao-ui-admin/src/components/DocAlert/index.vue
Normal file
25
yudao-ui-admin/src/components/DocAlert/index.vue
Normal 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>
|
Reference in New Issue
Block a user