网格管理新增需求

This commit is contained in:
liuye
2022-02-16 15:33:13 +08:00
parent 5ba54b48a8
commit 16d7d9e0d6
2 changed files with 7 additions and 3 deletions

View File

@@ -48,7 +48,7 @@
<img src="./components/img/right-icon.png" alt=""/>
</div>
</div>
<div class="footer" @click="confirm">确认添加</div>
<div class="footer" @click="confirm">{{fromType == 'add' ? '确认添加' : '确认修改'}}</div>
</div>
</template>
@@ -75,7 +75,11 @@ export default {
})
},
onShow() {
document.title = '添加网格'
if(this.fromType == 'add') {
document.title = '添加网格'
}else {
document.title = '编辑网格'
}
},
methods: {
...mapActions(['selectPrivilegedContact']),