03 2024 档案
摘要:
有的需求需要一次移入事件展示多个图标的tooltip方便用户查看,效果如下效果一: 链接如下 : e-chart主要配置是 tooltip: { trigger: 'axis', axisPointer: { animation: false } }, axisPointer: { link: [
阅读全文

摘要:使用three,导出当前场景内指定模型为 glb,或者gltf格式 import { GLTFExporter } from 'three/examples/jsm/exporters/GLTFExporter.js' //导出模型为GLTF public exportGLTFModel() { l
阅读全文
摘要:当使用js下载路径带有xxxxx.png 的路径图片时,下载下来的名称一直是xxxxx.png,有时候又需要指定文件名称,代码如下 downFile(ShowUrl,Name) { // ShowUrl 表示路径 Name 表示需要的名称 const x = new window.XMLHttpRe
阅读全文