feat:404重定向取消设置是否保留 URL 参数 (#1854)

This commit is contained in:
zhengkunwang 2023-08-06 17:48:04 +08:00 committed by GitHub
parent ac7e47bdf1
commit 480b8acd66
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

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