2021年12月15日
摘要: 1. 原型概念理解: 构造函数(构造器),原型对象, 实例对象 每一个构造函数在创建的时候系统会创建一个该函数的实例对象作为默认原型 Phone.prototype = new Phone(); 当其实例化时,生成一个实例对象 let phone = new Phone(); 其中使用 Phone. 阅读全文
posted @ 2021-12-15 15:02 occc 阅读(385) 评论(0) 推荐(0) 编辑
摘要: <template> <div> <div id="container"></div> </div> </template> <script> import * as Three from 'three' import { DoubleSide, TextureLoader } from 'thre 阅读全文
posted @ 2021-12-15 10:54 occc 阅读(183) 评论(0) 推荐(0) 编辑
摘要: <template> <div id="container"> <!-- <img src="/models/yunlog.png" alt /> --> <button @click="dispose('robot')"> 模型切换 </button> <button @click="change 阅读全文
posted @ 2021-12-15 10:53 occc 阅读(698) 评论(0) 推荐(0) 编辑