mirror of
https://github.com/1Panel-dev/1Panel.git
synced 2024-11-30 23:49:10 +08:00
feat:404重定向取消设置是否保留 URL 参数 (#1854)
This commit is contained in:
parent
ac7e47bdf1
commit
480b8acd66
@ -51,14 +51,12 @@
|
||||
<el-form-item :label="$t('website.redirectRoot')" prop="redirectRoot" v-if="redirect.type == '404'">
|
||||
<el-switch v-model="redirect.redirectRoot"></el-switch>
|
||||
</el-form-item>
|
||||
<div v-if="!redirect.redirectRoot">
|
||||
<el-form-item :label="$t('website.targetURL')" prop="target">
|
||||
<el-form-item :label="$t('website.targetURL')" prop="target" v-if="!redirect.redirectRoot">
|
||||
<el-input v-model.trim="redirect.target"></el-input>
|
||||
</el-form-item>
|
||||
<el-form-item :label="$t('website.keepPath')" prop="keepPath">
|
||||
<el-form-item :label="$t('website.keepPath')" prop="keepPath" v-if="redirect.type !== '404'">
|
||||
<el-switch v-model="redirect.keepPath"></el-switch>
|
||||
</el-form-item>
|
||||
</div>
|
||||
</el-form>
|
||||
</el-col>
|
||||
</el-row>
|
||||
|
Loading…
Reference in New Issue
Block a user