desc: 修改显示权限title

This commit is contained in:
zyy 2019-09-03 17:03:05 +08:00
parent dafa95baed
commit bd494599a6

View File

@ -3,7 +3,7 @@
<div class="pack-box" :style="{ height: height +'px' }">
<el-scrollbar wrap-class="scrollbar-wrapper" style="">
<el-steps class="steps" :active="display">
<el-step title="新建权限" icon="el-icon-edit" />
<el-step :title="title" icon="el-icon-edit" />
<el-step icon="el-icon-setting" />
</el-steps>
<el-card class="forms pack-rule">
@ -112,6 +112,9 @@ export default {
computed: {
height() {
return this.$store.state.app.height - 65;
},
title() {
return this.$route.query.id ? '修改权限' : '新建权限';
}
},
mounted() {