26912
This commit is contained in:
@@ -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
|
||||
}
|
||||
})
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user