上一页 1 ··· 27 28 29 30 31 32 33 34 35 ··· 46 下一页
摘要: 一.cookie、session、localStorage、sessionStorge总体介绍 cookie:浏览器储存,最大4KB,请求头会自动带上(最先验证的时候可以使用),vue中默认有效时间为浏览器关闭,django中可以自己设置。(位于google的setting里面,你可以去找找/控制台 阅读全文
posted @ 2020-10-13 01:05 糖~豆豆 阅读(1279) 评论(0) 推荐(0)
摘要: 1.准备好模型文件table.obj和table.mtl 2.下载obj2gltf 下载地址https://github.com/AnalyticalGraphicsInc/obj2gltf 解压至文件夹名称obj2gltf-master 3.模型文件table.obj和table.mtl放进解压后 阅读全文
posted @ 2020-09-25 23:50 糖~豆豆 阅读(3270) 评论(0) 推荐(2)
摘要: 1,reload 方法,该方法强迫浏览器刷新当前页面。 语法:location.reload([bForceGet]) 参数: bForceGet, 可选参数, 默认为 false,从客户端缓存里取当前页。true, 则以 GET 方式,从服务端取最新的页面, 相当于客户端点击 F5("刷新") i 阅读全文
posted @ 2020-09-21 23:25 糖~豆豆 阅读(249) 评论(0) 推荐(0)
摘要: 1.配置一个文件,返回系统名称 2.配置routes-routing.module.ts 引入文件 const system = 服务.getsystem() const allROUTES: {URL1: Routes,url2: rOUTES} = { URL1: [] } const rout 阅读全文
posted @ 2020-09-21 23:24 糖~豆豆 阅读(227) 评论(0) 推荐(0)
摘要: 可以参考下面代码,粘贴上去就有了~ <template> <div class="container"> <h1>初步构造出辅助线</h1> <canvas ref="mainCanvas"></canvas> </div> </template> <script> import * as THRE 阅读全文
posted @ 2020-09-17 23:36 糖~豆豆 阅读(409) 评论(0) 推荐(0)
摘要: 代码如下 <template> <div style="width:1000px; height:800px"> <p>逃跑的圆柱体</p> <div ref="myBody" id="canvas-frame" style="width:1000px; height:800px" /> </div 阅读全文
posted @ 2020-09-17 23:33 糖~豆豆 阅读(334) 评论(0) 推荐(0)
摘要: 网格板子~~~ <template> <div style="width:1000px; height:800px"> <p>网格布局</p> <div ref="myBody" id="canvas-frame" style="width:1000px; height:800px"/> </div 阅读全文
posted @ 2020-09-03 23:52 糖~豆豆 阅读(937) 评论(0) 推荐(0)
摘要: 基础知识--正方体代码如下 <template> <div style="width:1000px; height:800px"> <h1>正方体</h1> <div ref="myBody" /> </div> </template> <script> import * as THREE from 阅读全文
posted @ 2020-09-03 23:50 糖~豆豆 阅读(468) 评论(0) 推荐(0)
摘要: 下面是画出线的代码,可以参考一下哟~~ <template> <div style="width:1000px; height:800px"> <p>点、线、面</p> <div ref="myBody" /> </div> </template> <script> import * as THRE 阅读全文
posted @ 2020-09-03 23:49 糖~豆豆 阅读(1403) 评论(0) 推荐(0)
摘要: 假如你想在VUE的main.js里根据条件按需引入注册组件以及样式,那就这样子写 举例来说我想要引入大屏的一些组件,但是原来框架已经集成了多个项目,路由也是按需加载的,想要实现组件按需加载 先在main.js旁边新建一个文件web3d.js import Vue from 'vue'; import 阅读全文
posted @ 2020-08-27 18:23 糖~豆豆 阅读(3241) 评论(0) 推荐(0)
上一页 1 ··· 27 28 29 30 31 32 33 34 35 ··· 46 下一页
Live2D