This commit is contained in:
liuye
2022-01-20 16:42:57 +08:00
parent 3a41acab69
commit 0bfa55b4ef

View File

@@ -1,5 +1,5 @@
<template>
<div class="add">
<div class="add" v-if="isShow">
<div class="header-description">
<u-form :model="forms" ref="uForm" label-width="auto">
<u-form-item label="标题" prop="title" required label-position="top">
@@ -65,7 +65,8 @@ export default {
moduleId: '',
listName: '',
selectList: [],
isHideCoverimg: false
isHideCoverimg: false,
isShow: false
}
},
computed: {...mapState(['user'])},
@@ -77,6 +78,8 @@ export default {
this.moduleId = o.moduleId
if (!o.id) {
this.forms.areaId = this.user.areaId
}else {
this.isShow = true
}
this.listName = o.listName
this.getType()
@@ -110,6 +113,7 @@ export default {
if (res.data.images) {
this.forms.images = JSON.parse(res.data.images || '[]')
}
this.isShow = true
}
})
},