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'])}, computed: {...mapState(['user'])},
onLoad(o) { onLoad(o) {
this.moduleId = o.moduleId
this.getModuleInfo()
if (o.id) { if (o.id) {
this.id = o.id this.id = o.id
} }
this.moduleId = o.moduleId
if (!o.id) { if (!o.id) {
this.forms.areaId = this.user.areaId this.forms.areaId = this.user.areaId
}else {
this.isShow = true this.isShow = true
} }
this.listName = o.listName this.listName = o.listName
this.getType() this.getType()
this.getModuleInfo()
}, },
onShow() { onShow() {
document.title = this.listName document.title = this.listName