26881
This commit is contained in:
@@ -19,7 +19,7 @@
|
||||
|
||||
<u-form-item label="发布地区" prop="areaId" required>
|
||||
<div class="right">
|
||||
<AiAreaPicker v-model="forms.areaId" :areaId="user.areaId" @select="areaSelect"></AiAreaPicker>
|
||||
<AiAreaPicker :value="forms.areaId" :areaId="user.areaId" @select="areaSelect"></AiAreaPicker>
|
||||
<u-icon name="arrow-right" color="#CCCCCC" class="right-icon area-right-icon"></u-icon>
|
||||
</div>
|
||||
</u-form-item>
|
||||
@@ -69,13 +69,14 @@ export default {
|
||||
},
|
||||
computed: {...mapState(['user'])},
|
||||
onLoad(o) {
|
||||
console.log(o)
|
||||
if (o.id) {
|
||||
this.id = o.id
|
||||
}
|
||||
|
||||
this.moduleId = o.moduleId
|
||||
this.forms.areaId = this.user.areaId
|
||||
if (!o.id) {
|
||||
this.forms.areaId = this.user.areaId
|
||||
}
|
||||
this.listName = o.listName
|
||||
this.getType()
|
||||
},
|
||||
|
||||
@@ -93,7 +93,6 @@ export default {
|
||||
this.areaIdProps = this.user.areaId
|
||||
if (!this.id) {
|
||||
this.forms.areaId = this.user.areaId
|
||||
this.forms.areaName = this.user.areaName
|
||||
}
|
||||
this.$dict.load('realityStatus').then(() => {
|
||||
this.getDetail()
|
||||
|
||||
Reference in New Issue
Block a user