v2.6.2 (#177)
1、修复邮件插入失败 2、插件支持设置页面 3、修复pop3邮箱拉取权限判断 4、修复非管理员账户的附件权限判断 Co-authored-by: jinnrry <i@jinnrry.com>
This commit is contained in:
1 parent
729eb9658a
commit
e6a56b199d
28 files changed
+432
-224
No files matched your search
@@ -25,6 +25,11 @@
|
||||
<el-tab-pane v-if="$userInfos.is_admin" :label="lang.user_management">
|
||||
<UserManagement />
|
||||
</el-tab-pane>
|
||||
|
||||
<el-tab-pane :label="lang.plugin_settings">
|
||||
<PluginSettings />
|
||||
</el-tab-pane>
|
||||
|
||||
</el-tabs>
|
||||
</el-drawer>
|
||||
|
||||
@@ -41,6 +46,7 @@ import GroupSettings from './GroupSettings.vue';
|
||||
import RuleSettings from './RuleSettings.vue';
|
||||
import UserManagement from './UserManagement.vue';
|
||||
import { getCurrentInstance } from 'vue'
|
||||
import PluginSettings from './PluginSettings.vue';
|
||||
const app = getCurrentInstance()
|
||||
const $http = app.appContext.config.globalProperties.$http
|
||||
const $isLogin = app.appContext.config.globalProperties.$isLogin
|
||||
|
||||
@@ -0,0 +1,35 @@
|
||||
<template>
|
||||
<div id="main">
|
||||
<el-tabs>
|
||||
<el-tab-pane v-for="(src, name) in pluginList" :label="name">
|
||||
<iframe :src="src"></iframe>
|
||||
</el-tab-pane>
|
||||
</el-tabs>
|
||||
</div>
|
||||
</template>
|
||||
|
||||
<script setup>
|
||||
import { reactive, ref, getCurrentInstance } from 'vue'
|
||||
const app = getCurrentInstance()
|
||||
const $http = app.appContext.config.globalProperties.$http
|
||||
const pluginList = reactive({})
|
||||
|
||||
$http.get('/api/plugin/list').then(res => {
|
||||
if (res.data != null && res.data.length > 0) {
|
||||
for (let i = 0; i < res.data.length; i++) {
|
||||
let name = res.data[i];
|
||||
pluginList[name] = "/api/plugin/settings/"+ name +"/index.html";
|
||||
}
|
||||
}
|
||||
})
|
||||
|
||||
</script>
|
||||
|
||||
<style scoped>
|
||||
|
||||
iframe{
|
||||
width: 100%;
|
||||
border: 0;
|
||||
}
|
||||
|
||||
</style>
|
||||
@@ -7,6 +7,7 @@ var lang = {
|
||||
"editUser": "Edit Account",
|
||||
"user_name": "User Name",
|
||||
"user_management": "user management",
|
||||
"plugin_settings": "Plugin Settings",
|
||||
"lang": "en",
|
||||
"submit": "submit",
|
||||
"compose": "compose",
|
||||
@@ -117,6 +118,7 @@ var zhCN = {
|
||||
"newUser": "新增用户",
|
||||
"editUser": "编辑用户",
|
||||
"user_management": "用户管理",
|
||||
"plugin_settings": "插件设置",
|
||||
"lang": "zhCn",
|
||||
"submit": "提交",
|
||||
"compose": "发件",
|
||||
|
||||
Reference in new issue
Block a user