上一页 1 ··· 25 26 27 28 29 30 31 32 33 ··· 44 下一页
摘要: 1.前端测试代码angular8 // 测试代码 testCookie() { const url = 'http://10.11.11.11:3000/test/cookie' const params = {a:1} // {withCredentials: true} 这个是重点!!!! th 阅读全文
posted @ 2020-10-21 23:39 糖~豆豆 阅读(629) 评论(0) 推荐(0) 编辑
摘要: 优化一:很简单,echarts自身支持legend图例分页,加了分页就优化了图例过多情况。 legend['type']: 'scroll', // 添加这一行代码即可实现图例分页功能 option = { title: { text: '折线图堆叠' }, tooltip: { trigger: 阅读全文
posted @ 2020-10-13 01:07 糖~豆豆 阅读(2784) 评论(0) 推荐(0) 编辑
摘要: 一.cookie、session、localStorage、sessionStorge总体介绍 cookie:浏览器储存,最大4KB,请求头会自动带上(最先验证的时候可以使用),vue中默认有效时间为浏览器关闭,django中可以自己设置。(位于google的setting里面,你可以去找找/控制台 阅读全文
posted @ 2020-10-13 01:05 糖~豆豆 阅读(1195) 评论(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 糖~豆豆 阅读(3102) 评论(0) 推荐(2) 编辑
摘要: 1,reload 方法,该方法强迫浏览器刷新当前页面。 语法:location.reload([bForceGet]) 参数: bForceGet, 可选参数, 默认为 false,从客户端缓存里取当前页。true, 则以 GET 方式,从服务端取最新的页面, 相当于客户端点击 F5("刷新") i 阅读全文
posted @ 2020-09-21 23:25 糖~豆豆 阅读(230) 评论(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 糖~豆豆 阅读(220) 评论(0) 推荐(0) 编辑
摘要: 可以参考下面代码,粘贴上去就有了~ <template> <div class="container"> <h1>初步构造出辅助线</h1> <canvas ref="mainCanvas"></canvas> </div> </template> <script> import * as THRE 阅读全文
posted @ 2020-09-17 23:36 糖~豆豆 阅读(376) 评论(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 糖~豆豆 阅读(306) 评论(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 糖~豆豆 阅读(882) 评论(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 糖~豆豆 阅读(435) 评论(0) 推荐(0) 编辑
上一页 1 ··· 25 26 27 28 29 30 31 32 33 ··· 44 下一页
Live2D