2018年5月8日
摘要: IProximityOperator接口用于获取两个几何图形的距离,以及给定一个Point,求另一个几何图形上离离给定点最近的点。IProximityOperator接口的主要方法有:QueryNearesPoint,ReturnDistance, ReturnNearestPointReturnDistance方法用于返回两个几何对象间的最短距离,QueryNearesPoint方法用于查询获取... 阅读全文
posted @ 2018-05-08 01:36 gisery 阅读(3903) 评论(0) 推荐(0)
摘要: IWorkspaceFactory pShpWksFact = new ShapefileWorkspaceFactory(); IFeatureWorkspace pFeatWks; pFeatWks = (IFeatureWorkspace)pShpWksFact.OpenFromFile(filePath, 0); const string strShapeFieldName = ... 阅读全文
posted @ 2018-05-08 01:28 gisery 阅读(482) 评论(0) 推荐(0)
摘要: 我要向后端的请求的url是 http://192.168.3.25/ productInfo/insert 我是先用niginx转成localhost:8081 找conf/ nginx.conf ,修改proxy_pass和listen端口 然后还得在index.js里边配置 然后发送请求 请求成 阅读全文
posted @ 2018-05-08 01:15 gisery 阅读(319) 评论(0) 推荐(0)
摘要: axios向后端请求数据时,一直获取不到数据, 后来改成这样写获取到了数据 不是一个this,有人说用箭头函数就可以了。 阅读全文
posted @ 2018-05-08 01:02 gisery 阅读(1127) 评论(0) 推荐(0)
摘要: Axios向后端提交数据容易接收不到原因是传参方式是request payload,参数格式是json,而并非用的是form传参,所以在后台用接收form数据的方式接收参数就接收不到了。post表单请求提交时,使用的Content-Type是application/x-www-form-urlenc 阅读全文
posted @ 2018-05-08 00:57 gisery 阅读(12355) 评论(0) 推荐(0)
摘要: 1.父组件给子组件传值用props属性实现 <city-list :cities='cities' :hot='hotCities' :letter='letter'></city-list> 子组件通过props属性来接收 export default { name:"CityList", pro 阅读全文
posted @ 2018-05-08 00:38 gisery 阅读(143) 评论(0) 推荐(0)
摘要: 1.首先通过npm安装vue-awesome-swiper,我在项目中用的是2.6.7版本 npm install vue-awesome-swiper@2.6.7 –save 2. 在main.js中引入 import VueAwesomeSwiper from 'vue-awesome-swip 阅读全文
posted @ 2018-05-08 00:18 gisery 阅读(399) 评论(0) 推荐(0)
  2018年4月22日
摘要: Rem是相对于根元素font-size大小的单位 记inphone5屏幕宽度是 320px font-size16px 1rem=16px <html> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device 阅读全文
posted @ 2018-04-22 10:58 gisery 阅读(161) 评论(0) 推荐(0)
摘要: <transition-group></transition-group> ① 列表 <transition-group> </transition-group> 在页面渲染出来是个 span 标签, 如果你想更改它用 tag 属性。例如 <transition-group tag="div"> < 阅读全文
posted @ 2018-04-22 00:16 gisery 阅读(259) 评论(0) 推荐(0)
  2018年4月21日
摘要: 钩子函数从before-enter – enter –after-enter-entercancelled也是一个完整的生命周期 <transition v-on:before-enter="beforeEnter" v-on:enter="enter" v-on:after-enter="afte 阅读全文
posted @ 2018-04-21 23:59 gisery 阅读(269) 评论(0) 推荐(0)