01 2024 档案
摘要:<a-upload v-model:file-list="state.form.fileList" name="file" :multiple="true" accept="image/jpeg, image/png" action="/school/attachment/upload" :befo
阅读全文
摘要:const viewer = new Cesium.Viewer("cesiumContainer"); const blueBox = viewer.entities.add({ name: "Blue box", // 位置:(经度,维度) position: Cesium.Cartesian3
阅读全文
摘要:viewer.camera.flyTo({ destination: new Cesium.Cartesian3( -3961951.575572026, 3346492.0945766014, 3702340.5336036095 ), orientation: { direction: new
阅读全文
摘要:// 【🐲🐲🐲】相机锁定到某个点位,可以将相机移动限定在某个区域或实体上的时候会使用到 // Eg: 将相机锁定在某个点,使用相机的【lookAtTransform】 const center = Cesium.Cartesian3.fromRadians( 2.421321183338924
阅读全文
摘要:React Navigation在App中创建导航结构 Web浏览器中,可以通过a链接到不同的页面,当用户按下后退按钮,浏览器从访问记录堆栈中弹出项目 RN无法像浏览器一样管理访问路由,需要通过React Navigation实现 React Navigation的本机堆栈导航器为App提供一种在屏
阅读全文
摘要:POST携带参数请求文件流并保存为Excel文件 // payload携带的对象参数 function downloadExcel(payload) { let xhr = new XMLHttpRequest(); xhr.open('POST', 'background/baseInfo/exp
阅读全文
摘要:问题背景 使用a-tree构造组织树过程中 后端返回的数据officeCode存在重复的情况 造成Vue的DOM树对应的key重复 解决办法 保证a-tree的tree-data数据中的各个node的key唯一
阅读全文
摘要:
阅读全文
摘要:<a-form-item label="附件" :label-col="{ span: 4 }" :wrapperCol="{ span: 4 }" :colon="false" > <div class="upload"> <a-upload :fileList="uploadFileList"
阅读全文
摘要:效果图 核心代码 watermark.vue <template> <div class="watermark-outer"> <div class="watermark" v-for="i in 200" :key="i"> <div>{{waterMarkContent}}</div> <spa
阅读全文
摘要:<a-popover placement="bottomRight" overlayClassName="screen-gantt-popover" :overlayStyle="{marginTop: '-65px'}"> </a-popover>
阅读全文
摘要::scroll="{x: true}" :scroll="{ x: 'max-content' }"
阅读全文
摘要:依赖 "@vue-office/docx": "^1.3.0", "@vue-office/excel": "^1.4.5", "@vue-office/pdf": "^1.5.3", 参考: https://www.jb51.net/article/275080.htm 代码案例 核心代码 <di
阅读全文
摘要:<el-tree-select multiple v-model="org" check-strictly :data="state.orgData" check-on-click-node :render-after-expand="false" :props="state.typeProps"
阅读全文
摘要:方案1:调整深度检测值 使用disableDepthTestDistance: Number.POSITIVE_INFINITY, 圆点完全都在地上了 存在问题: 图中间的小圆点可能会出现在一些建筑的前面,实际在建筑的后面 这是关闭深度检测的必然结果! 方案2:抬升高度 下述语句中输入高度值 let
阅读全文
摘要:
阅读全文