地区切换修复
This commit is contained in:
		| @@ -1,7 +1,7 @@ | |||||||
| <template> | <template> | ||||||
|   <section class="AppBIBoard" :class="{fullscreen}"> |   <section class="AppBIBoard" :class="{fullscreen}"> | ||||||
|     <ai-fit-view @scale="v=>scale=v"> |     <ai-fit-view @scale="v=>scale=v"> | ||||||
|       <ai-dv-wrapper ref="fddv" title="丰收号-家庭互助" :instance="instance" :mask="false" @pick="getData()"> |       <ai-dv-wrapper ref="fddv" title="丰收号-家庭互助" :instance="instance" :mask="false"> | ||||||
|         <template v-slot:head="head"> |         <template v-slot:head="head"> | ||||||
|           <fengdu-head v-model="areaId" v-bind="head" @fullscreen="handleFullScreen" @setting="handleSetting"/> |           <fengdu-head v-model="areaId" v-bind="head" @fullscreen="handleFullScreen" @setting="handleSetting"/> | ||||||
|         </template> |         </template> | ||||||
| @@ -358,6 +358,10 @@ export default { | |||||||
|     }, |     }, | ||||||
|     dialog(v) { |     dialog(v) { | ||||||
|       !v && (this.detail = {}) |       !v && (this.detail = {}) | ||||||
|  |     }, | ||||||
|  |     areaId(v) { | ||||||
|  |       console.log(v) | ||||||
|  |       !!v && this.getData() | ||||||
|     } |     } | ||||||
|   }, |   }, | ||||||
|   methods: { |   methods: { | ||||||
|   | |||||||
| @@ -1,7 +1,7 @@ | |||||||
| <template> | <template> | ||||||
|   <section class="fengduHead"> |   <section class="fengduHead"> | ||||||
|     <div class="content flex"> |     <div class="content flex"> | ||||||
|       <ai-area class="fill" v-model="current" :mask="false" :root="currentRoot" @area="v=>$emit('pick',v)"> |       <ai-area class="fill" v-model="current" :mask="false" :root="currentRoot"> | ||||||
|         <template slot-scope="{areaname}"> |         <template slot-scope="{areaname}"> | ||||||
|           <el-input class="areaPicker" :value="areaname" readonly suffix-icon="el-icon-arrow-down"/> |           <el-input class="areaPicker" :value="areaname" readonly suffix-icon="el-icon-arrow-down"/> | ||||||
|         </template> |         </template> | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user