VSCode setting.js 配置vue文件格式化

```javascript "vetur.format.defaultFormatterOptions": { "js-beautify-html": { "brace_style": "collapse-preserve-inline",             "wrap_line_length":160, //多少字符换行 ...

默认分类 2021-07-29 AM 363次 0条

Cesium直接加载Shape文件,Js解析Shape文件库

原仓库地址:https://github.com/calvinmetcalf/shapefile-js 使用: ```javascript var base = 'data/shp.zip'; // shp文件zip压缩包或单独的shp文件路径 shp(base).then(function (data) { var promise = Cesium.GeoJsonDat...

Cesium 2021-07-22 PM 408次 0条

Cesium自定义圆柱体Geomerty表面贴图

1. **自定义Geomerty实现,顶点(positions)、连接顺序(逆时针顺序,indices),UV坐标(st)** ```javascript function MyCylinderGeometry(radius , height, slice = 16) { var positions = new Float64Array((slice+1) * 2...

Cesium 2021-07-21 PM 765次 0条

SqlBuckCopy使用

public static class DataTableUtils { /// /// 转化一个DataTable /// /// /// /// public static DataTa...

C# 2021-07-20 PM 388次 0条

Vue+ElementUI-Tree组件的一些问题

render-after-expand 属性控制是否展开后才渲染。默认为true,默认情况下未展开渲染叶子节点时,改变父节点的checkbox,childern的checkChange事件不会被触发。 ajax请求数据并赋值给tree组件的data后,如需要设置默认的勾选节点,则需要使用 this.$nextTick(() => { this.$refs...

Vue 2021-07-20 PM 496次 0条