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