mirror of
https://github.com/1Panel-dev/1Panel.git
synced 2025-09-11 17:15:44 +08:00
feat: 伪静态增加提示 (#4678)
This commit is contained in:
parent
c23dfc374f
commit
92f019cf7c
4 changed files with 7 additions and 2 deletions
|
@ -1937,6 +1937,8 @@ const message = {
|
|||
keyType: 'Key algorithm',
|
||||
tencentCloud: 'Tencent Cloud',
|
||||
containWarn: 'The domain name contains the main domain, please re-enter',
|
||||
rewriteHelper2:
|
||||
'Applications such as WordPress installed from the app store have pseudo-static configuration by default. Repeated configuration may result in errors',
|
||||
},
|
||||
php: {
|
||||
short_open_tag: 'Short tag support',
|
||||
|
|
|
@ -1812,6 +1812,7 @@ const message = {
|
|||
keyType: '密鑰演算法',
|
||||
tencentCloud: '騰訊雲',
|
||||
containWarn: '其他域名中包含主域名,请重新輸入',
|
||||
rewriteHelper2: '從應用程式商店安裝的 WordPress 等應用,預設已經配置好偽靜態,重複配置可能會報錯',
|
||||
},
|
||||
php: {
|
||||
short_open_tag: '短標簽支持',
|
||||
|
|
|
@ -1812,6 +1812,7 @@ const message = {
|
|||
keyType: '密钥算法',
|
||||
tencentCloud: '腾讯云',
|
||||
containWarn: '其他域名中包含主域名,请重新输入',
|
||||
rewriteHelper2: '从应用商店安装的 WordPress 等应用,默认已经配置好伪静态,重复配置可能会报错',
|
||||
},
|
||||
php: {
|
||||
short_open_tag: '短标签支持',
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
<template>
|
||||
<div>
|
||||
<el-form-item :label="$t('website.rewriteMode')">
|
||||
<el-select v-model="req.name" filterable @change="getRewriteConfig(req.name)">
|
||||
<el-select v-model="req.name" filterable @change="getRewriteConfig(req.name)" class="p-w-200">
|
||||
<el-option :label="$t('website.current')" :value="'current'"></el-option>
|
||||
<el-option
|
||||
v-for="(rewrite, index) in Rewrites"
|
||||
|
@ -11,6 +11,7 @@
|
|||
></el-option>
|
||||
</el-select>
|
||||
</el-form-item>
|
||||
<el-text type="warning">{{ $t('website.rewriteHelper2') }}</el-text>
|
||||
<Codemirror
|
||||
ref="codeRef"
|
||||
v-loading="loading"
|
||||
|
@ -26,7 +27,7 @@
|
|||
:extensions="extensions"
|
||||
v-model="content"
|
||||
/>
|
||||
<div style="margin-top: 10px">
|
||||
<div class="mt-2">
|
||||
<el-form-item>
|
||||
<el-alert :title="$t('website.rewriteHelper')" type="info" :closable="false" />
|
||||
</el-form-item>
|
||||
|
|
Loading…
Add table
Reference in a new issue