摘要:
在使用element的confirm时,没有可以勾选“不在提示”的功能,现在的需求是可以根据需求关闭confirm的提示 confirm组件hasDConfirm.vue 1 <template> 2 <div class="YConfirm"> 3 <el-dialog :title="conte 阅读全文
posted @ 2021-09-29 16:40
飞天小毛驴404
阅读(193)
评论(0)
推荐(0)
摘要:
问题描述 在使用geoJSONLayer加载geojson数据时,官方文档只支持单一类型的geojson数据加载,当一个geojson数据中出现两种类型的数据时可以尝试一下方法进行解决 本场景为:点击图层获取geojson,通过geoJSONLayer加载底图上,然后在通过popup显示当前点击位置 阅读全文
posted @ 2021-09-29 16:24
飞天小毛驴404
阅读(576)
评论(0)
推荐(0)
摘要:
实例geojsonLayer时添加属性popupTemplate popupTemplate: { title: action, content: '点击了' } 设置title用于查询到多个graphic时能够区分 title: function(event) { return popupTile 阅读全文
posted @ 2021-09-29 15:17
飞天小毛驴404
阅读(440)
评论(0)
推荐(0)
摘要:
1、子组件中有el-dialog时控制隐藏的方法 // 父组件 <template> <div class="rightsContainer"> <el-button size="small" @click="showDialog = !showDialog">显示弹窗</el-button> <c 阅读全文
posted @ 2021-09-29 15:08
飞天小毛驴404
阅读(16)
评论(0)
推荐(0)
摘要:
1、用WMTSLayer创建影像(需要WMTS服务和对应的.xml文件) this.layer.tileLayer = new this.esri.TileLayer({ url }) 2、利用tileLayer创建图层,把图层放到GroupLayer中,然后再加载到map上 this.layer. 阅读全文
posted @ 2021-09-29 14:33
飞天小毛驴404
阅读(133)
评论(0)
推荐(0)
摘要:
清除form表单 this.$refs.formName.resetFields() 验证表单 this.$refs.createForm.validate((valid) => {}) 当img标签的src指向网络路径时,图片不能有效加载的解决方法 增加meta标签 <meta name="ref 阅读全文
posted @ 2021-09-29 11:55
飞天小毛驴404
阅读(21)
评论(0)
推荐(0)

浙公网安备 33010602011771号