邻里互助
This commit is contained in:
		| @@ -1,7 +1,7 @@ | ||||
| <template> | ||||
|   <ai-list class="notice"> | ||||
|     <template slot="title"> | ||||
|       <ai-title title="邻里互助" isShowBottomBorder isShowArea :disabledLevel="disabledLevel" v-model="search.areaId" @change="changeArea"> | ||||
|       <ai-title title="邻里互助" isShowBottomBorder isShowArea :hideLevel="hideLevel-1" v-model="search.areaId" @change="changeArea"> | ||||
|       </ai-title> | ||||
|     </template> | ||||
|     <template slot="content"> | ||||
| @@ -84,15 +84,16 @@ | ||||
|         ], | ||||
|         tableData: [], | ||||
|         dateList: [], | ||||
|         disabledLevel: 0 | ||||
|       } | ||||
|     }, | ||||
|     computed: { | ||||
|       ...mapState(['user']), | ||||
|       hideLevel() { | ||||
|         return this.user.info.areaList?.length || 0 | ||||
|       }, | ||||
|     }, | ||||
|  | ||||
|     created() { | ||||
|       this.disabledLevel = this.user.info.areaList.length - 1 | ||||
|       this.search.areaId = this.user.info.areaId | ||||
|       this.getList() | ||||
|     }, | ||||
|   | ||||
		Reference in New Issue
	
	Block a user