消息通知
This commit is contained in:
@@ -3,7 +3,7 @@
|
||||
|
||||
<div class="select-content">
|
||||
<div class="area-flex">
|
||||
<p class="title"><span class="tips">*</span>地区</p>
|
||||
<p class="title">地区</p>
|
||||
<AiAreaPicker v-model="areaList" multiple>
|
||||
<span class="label" v-if="areaList.length">已选择</span>
|
||||
<span v-else style="color:#999;">请选择</span>
|
||||
@@ -11,7 +11,7 @@
|
||||
</AiAreaPicker>
|
||||
</div>
|
||||
<div class="type-content">
|
||||
<p class="title"><span class="tips">*</span>选择标签</p>
|
||||
<p class="title">选择标签</p>
|
||||
<div class="type-list">
|
||||
<div v-for="(item, index) in tagList" :key="index">
|
||||
<p>{{item.name}}</p>
|
||||
@@ -64,9 +64,9 @@ export default {
|
||||
this.tagList[index].tagList[indexs].isCheck = !this.tagList[index].tagList[indexs].isCheck
|
||||
},
|
||||
confirm() {
|
||||
if(!this.areaList.length) {
|
||||
return this.$u.toast('请选择地区')
|
||||
}
|
||||
// if(!this.areaList.length) {
|
||||
// return this.$u.toast('请选择地区')
|
||||
// }
|
||||
this.tagIdList = []
|
||||
this.tagList.map((item) => {
|
||||
item.tagList.map((items) => {
|
||||
@@ -75,9 +75,9 @@ export default {
|
||||
}
|
||||
})
|
||||
})
|
||||
if(!this.tagIdList.length) {
|
||||
return this.$u.toast('请选择标签')
|
||||
}
|
||||
// if(!this.tagIdList.length) {
|
||||
// return this.$u.toast('请选择标签')
|
||||
// }
|
||||
uni.$emit('selectTag', {
|
||||
areaIdList: this.areaList,
|
||||
tagIdList: this.tagIdList
|
||||
|
||||
Reference in New Issue
Block a user