摘要: nvm list 查看已经安装的版本nvm list installed 查看已经安装的版本nvm list available 查看网络可以安装的版本nvm version 查看当前的版本nvm install 安装最新版本nvm nvm use <version> ## 切换使用指定的版本nod 阅读全文
posted @ 2024-04-04 23:22 雨落风 阅读(3) 评论(0) 推荐(0) 编辑
摘要: // 引入three.js import * as THREE from 'three'; import { OrbitControls } from 'three/examples/jsm/controls/OrbitControls.js'; // export const threeDimen 阅读全文
posted @ 2023-12-28 10:41 雨落风 阅读(8) 评论(0) 推荐(0) 编辑
摘要: x 左右 y 上下 z 前后 背景色 const renderer = new THREE.WebGLRenderer({ antialias: true, //设置抗锯齿 alpha:false, //透明开启与关闭 logarithmicDepthBuffer:true, //能解决部分模型冲突 阅读全文
posted @ 2023-11-28 16:14 雨落风 阅读(22) 评论(0) 推荐(0) 编辑
摘要: 1.需要创建场景 // 创建场景 const scene = new THREE.Scene(); 2.创建相机 // 创建相机 const camera = new THREE.PerspectiveCamera() // 相机的位置 camera.position.z = 18 camera.p 阅读全文
posted @ 2023-11-28 14:45 雨落风 阅读(7) 评论(0) 推荐(0) 编辑
摘要: nvm -v 查看当前版本nvm --config nvm list 查看已安装node版本列表nvm install 版本号 下载对应node版本nvm use 版本号 切换node版本nvm on 开启nvmnvm off 关闭nvm 一、在cmd控制台进行操作 nvm 查询版本号 查询可以下载 阅读全文
posted @ 2023-11-17 11:44 雨落风 阅读(332) 评论(0) 推荐(0) 编辑
摘要: axios.post('xxx', { responseType: 'blob' //指定返回数据的格式为blob }) .then(response => { console.log(response);//把response打出来,看下图 let url = window.URL.createO 阅读全文
posted @ 2023-06-25 17:46 雨落风 阅读(569) 评论(0) 推荐(0) 编辑
摘要: 报错内容 npm i element-ui -S npm ERR! code ERESOLVE npm ERR! ERESOLVE could not resolve npm ERR! npm ERR! While resolving: undefined@undefined npm ERR! Fo 阅读全文
posted @ 2023-04-06 09:15 雨落风 阅读(250) 评论(0) 推荐(0) 编辑
摘要: 下载文件1、弹窗组件 <template> <view class="bombFrame" v-if="bshow" :class="show?'show':'hide'"> <view class="telate" :class="show?'bshow':'bhide'"> <view clas 阅读全文
posted @ 2022-09-08 16:18 雨落风 阅读(556) 评论(0) 推荐(0) 编辑
摘要: mixins:[] 局部混入 混入模板 export default { data() { return { } }, onLoad() { console.log("111") }, methods: { } } 所引入文件 <template> <view> </view> </template 阅读全文
posted @ 2022-04-28 09:17 雨落风 阅读(32) 评论(0) 推荐(0) 编辑
摘要: 父组件 <template> <view> <assembly @submitToParent="submitToParent"> <template v-slot:content> <p>插槽内容</p> </template> </assembly> </view> </template> <s 阅读全文
posted @ 2022-04-27 15:59 雨落风 阅读(60) 评论(0) 推荐(0) 编辑