更改围栏编辑
parent
f7415c5887
commit
cdfebe3ca6
|
@ -52,6 +52,7 @@
|
|||
</el-table>
|
||||
|
||||
<el-dialog :visible.sync="dialogVisible" width="70%">
|
||||
|
||||
<div id="container" ></div>
|
||||
<div class="input-card" style="width: 200px">
|
||||
<h4 style="margin-bottom: 10px; font-weight: 600">围栏操作</h4>
|
||||
|
@ -65,7 +66,6 @@
|
|||
|
||||
|
||||
|
||||
|
||||
</template>
|
||||
|
||||
<script>
|
||||
|
@ -92,16 +92,20 @@ export default {
|
|||
}
|
||||
};
|
||||
},
|
||||
mounted() {
|
||||
setTimeout(() => {
|
||||
this.initMap();},
|
||||
500
|
||||
)
|
||||
},
|
||||
// mounted() {
|
||||
// setTimeout(() => {
|
||||
// this.initMap();},
|
||||
// 500
|
||||
// )
|
||||
// },
|
||||
|
||||
methods: {
|
||||
updialog(data) {
|
||||
this.dialogVisible=true
|
||||
setTimeout(() => {
|
||||
this.initMap();},
|
||||
500
|
||||
)
|
||||
this.updateFences = data
|
||||
},
|
||||
initMap() {
|
||||
|
|
Loading…
Reference in New Issue