This commit is contained in:
liuye
2022-01-20 16:50:05 +08:00
parent 0bfa55b4ef
commit 657f08c7d1

View File

@@ -71,19 +71,17 @@ export default {
},
computed: {...mapState(['user'])},
onLoad(o) {
this.moduleId = o.moduleId
this.getModuleInfo()
if (o.id) {
this.id = o.id
}
this.moduleId = o.moduleId
if (!o.id) {
this.forms.areaId = this.user.areaId
}else {
this.isShow = true
}
this.listName = o.listName
this.getType()
this.getModuleInfo()
},
onShow() {
document.title = this.listName