feat: 伪静态增加提示 (#4678)

This commit is contained in:
zhengkunwang 2024-04-24 17:36:11 +08:00 committed by GitHub
parent c23dfc374f
commit 92f019cf7c
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
4 changed files with 7 additions and 2 deletions

View file

@ -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',

View file

@ -1812,6 +1812,7 @@ const message = {
keyType: '密鑰演算法',
tencentCloud: '騰訊雲',
containWarn: '其他域名中包含主域名请重新輸入',
rewriteHelper2: '從應用程式商店安裝的 WordPress 等應用預設已經配置好偽靜態重複配置可能會報錯',
},
php: {
short_open_tag: '短標簽支持',

View file

@ -1812,6 +1812,7 @@ const message = {
keyType: '密钥算法',
tencentCloud: '腾讯云',
containWarn: '其他域名中包含主域名请重新输入',
rewriteHelper2: '从应用商店安装的 WordPress 等应用默认已经配置好伪静态重复配置可能会报错',
},
php: {
short_open_tag: '短标签支持',

View file

@ -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>