v2.4.6
1、优化初始化设置时的操作说明 2、发件人和发件时间修复 3、发件空指针异常修复
This commit is contained in:
1 parent
89c24884f2
commit
7a3d056e77
10 files changed
+124
-59
No files matched your search
@@ -86,6 +86,7 @@ var lang = {
|
||||
"move":"Move to group",
|
||||
"del_rule_confirm":"Are you sure to delete this?",
|
||||
"rule_params":"Executed params",
|
||||
"autoSSLWarn":"PMail is not currently running on port 80. If you want PMail to manage SSL certificates automatically, please forward the /.well-known/* route to PMail. See https://github.com/Jinnrry/PMail/issues/94 for details."
|
||||
};
|
||||
|
||||
|
||||
@@ -178,6 +179,7 @@ var zhCN = {
|
||||
"move":"移动分组",
|
||||
"del_rule_confirm":"确定要删除吗?",
|
||||
"rule_params":"执行参数",
|
||||
"autoSSLWarn":"PMail当前未使用80端口启动,如果想要PMail自动管理SSL证书,请将/.well-known/*路由转发到PMail。 详见https://github.com/Jinnrry/PMail/issues/94"
|
||||
}
|
||||
|
||||
switch (navigator.language) {
|
||||
|
||||
@@ -95,8 +95,8 @@
|
||||
</div>
|
||||
</div>
|
||||
|
||||
|
||||
<div v-if="active == 4" class="ctn_s">
|
||||
|
||||
<div class="desc">
|
||||
<h2>{{ lang.setDNS }}</h2>
|
||||
<div style="margin-top: 10px;">{{ lang.dns_desc }}</div>
|
||||
@@ -121,6 +121,10 @@
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<el-alert :closable="false" title="Warning!" type="error" center v-if="active == 5 && sslSettings.type == 0 && port != 80 "
|
||||
:description="lang.autoSSLWarn"
|
||||
/>
|
||||
|
||||
<div v-if="active == 5" class="ctn">
|
||||
<div class="desc">
|
||||
<h2>{{ lang.setSSL }}</h2>
|
||||
@@ -142,9 +146,11 @@
|
||||
<el-form-item :label="lang.ssl_crt_path" v-if="sslSettings.type == '1'">
|
||||
<el-input placeholder="./config/ssl/public.crt" v-model="sslSettings.crt_path"></el-input>
|
||||
</el-form-item>
|
||||
|
||||
</el-form>
|
||||
|
||||
|
||||
</div>
|
||||
|
||||
</div>
|
||||
|
||||
<el-button v-loading.fullscreen.lock="fullscreenLoading" id="next" style="margin-top: 12px" @click="next">{{
|
||||
@@ -192,6 +198,8 @@ const fullscreenLoading = ref(false)
|
||||
const dnsInfos = ref([
|
||||
])
|
||||
|
||||
const port = ref(80)
|
||||
|
||||
const setPassword = () => {
|
||||
if (adminSettings.hadSeted) {
|
||||
active.value++;
|
||||
@@ -279,7 +287,8 @@ const getSSLConfig = () => {
|
||||
if (res.errorNo != 0) {
|
||||
ElMessage.error(res.errorMsg)
|
||||
} else {
|
||||
sslSettings.type = res.data
|
||||
sslSettings.type = res.data.type
|
||||
port.value = res.data.port
|
||||
}
|
||||
})
|
||||
}
|
||||
@@ -368,6 +377,5 @@ const next = () => {
|
||||
flex-direction: column;
|
||||
|
||||
}
|
||||
|
||||
#next {}
|
||||
</style>
|
||||
Reference in new issue
Block a user