Commit 2cbbe576 authored by zhengke's avatar zhengke

修改

parent 779f7819
...@@ -232,6 +232,9 @@ ...@@ -232,6 +232,9 @@
dialogVisible(oldVal, newVal) { dialogVisible(oldVal, newVal) {
this.hotspotList = JSON.parse(JSON.stringify(this.hotspotArray)) this.hotspotList = JSON.parse(JSON.stringify(this.hotspotArray))
this.index = -1; this.index = -1;
if(this.hotspotList.length>0){
this.select(1);
}
} }
}, },
computed: { computed: {
......
...@@ -31,7 +31,7 @@ ...@@ -31,7 +31,7 @@
</el-form-item> </el-form-item>
<el-form-item label="热区"> <el-form-item label="热区">
<choiceArea ref="choiceArea" :multiple="true" :max="2" :pic-url="getIconLink(addMsg.AuthUrl)" <choiceArea ref="choiceArea" :multiple="true" :max="2" :pic-url="getIconLink(addMsg.AuthUrl)"
mode='auth' :hotspot-array="addMsg.AuthDataList" width="650px" height="700px" mode='auth' :hotspotArray="addMsg.AuthDataList" width="650px" height="700px"
@confirm="selectHotspot" :is-link="false"> @confirm="selectHotspot" :is-link="false">
<el-button size="mini">划分热区</el-button> <el-button size="mini">划分热区</el-button>
</choiceArea> </choiceArea>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment