更改围栏编辑

master
ZhiShuo_Lou 2023-11-22 20:02:28 +08:00
parent f7415c5887
commit cdfebe3ca6
1 changed files with 11 additions and 7 deletions

View File

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