Commit 28a117bc authored by sunhongwei's avatar sunhongwei

增加重定向redirect

parent 8e738046
...@@ -139,6 +139,11 @@ ...@@ -139,6 +139,11 @@
</el-radio-group> </el-radio-group>
</el-form-item> </el-form-item>
</el-col> </el-col>
<el-col :span="12">
<el-form-item v-if="form.type != '3'" label="重定向" prop="redirect">
<el-input v-model="form.redirect" placeholder="请输入重定向地址" />
</el-form-item>
</el-col>
</el-row> </el-row>
</el-form> </el-form>
<div slot="footer" class="dialog-footer"> <div slot="footer" class="dialog-footer">
...@@ -262,10 +267,11 @@ export default { ...@@ -262,10 +267,11 @@ export default {
name: undefined, name: undefined,
enName: undefined, enName: undefined,
icon: undefined, icon: undefined,
isShowInMenuBar: undefined, isShowInMenuBar: true,
type: SystemMenuTypeEnum.DIR, type: SystemMenuTypeEnum.DIR,
sort: undefined, sort: undefined,
keepalive: false, keepalive: false,
redirect: undefined,
status: CommonStatusEnum.ENABLE status: CommonStatusEnum.ENABLE
}; };
this.resetForm("form"); this.resetForm("form");
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment