摘要: 新建项目集合 1、集合变量(项目变量,只适用于当前项目) 获取、设置集合变量 pm.collectionVariables.get("variable_key");pm.collectionVariables.set("variable_key", "variable_value"); 2、环境变量 阅读全文
posted @ 2024-05-28 10:44 一江春水向东刘小姐 阅读(41) 评论(0) 推荐(0) 编辑
摘要: 原因:在three.js 0.13X版本后,上面dom的onclick 不会触发,原因是控制器Controls,可以尝试一下去掉控制器,看看dom上的点击事件是否ok let obtControls = new OrbitControls(camera, container); // OrbitCo 阅读全文
posted @ 2023-10-11 09:05 一江春水向东刘小姐 阅读(513) 评论(0) 推荐(0) 编辑
摘要: 安装three.js 0.128.0版本 ,build报错 解决: 在webpack.base.config.js中规则rules下配置 { test: /\.js$/, loader: 'happypack/loader?id=happybabel', // exclude: /node_modu 阅读全文
posted @ 2023-08-23 19:08 一江春水向东刘小姐 阅读(20) 评论(0) 推荐(0) 编辑
摘要: 报错原因:vue与vue-template-compiler版本不匹配。 解决办法: 上图中说了看看使用vue-loader的版本,我的是13版本大于10.0版本,这个时候需要更新vue-template-compiler //卸载 npm uninstall vue-template-compil 阅读全文
posted @ 2023-08-23 18:55 一江春水向东刘小姐 阅读(303) 评论(0) 推荐(0) 编辑
摘要: 1、安装three.js npm i three@0.128.0 2、在vue中引用(可以测试一下,是否ok,下面测试) 1)、新建index.js import * as THREE from 'three'; // 引入Three.js扩展库 import { OrbitControls } f 阅读全文
posted @ 2023-07-26 15:56 一江春水向东刘小姐 阅读(524) 评论(0) 推荐(0) 编辑
摘要: vue版本 "devDependencies":{ "webpack": "^3.6.0", "webpack-bundle-analyzer": "^2.9.0", "webpack-dev-server": "^2.9.1", "webpack-merge": "^4.1.0" } "depen 阅读全文
posted @ 2023-07-26 15:50 一江春水向东刘小姐 阅读(676) 评论(0) 推荐(0) 编辑
摘要: 为实现下面图形形状 <style> .box{width:200px;height:100px;} </style> <div class="box" ></div> 1、利用linear-gradient .box{ background: linear-gradient(135deg, tran 阅读全文
posted @ 2023-06-14 17:32 一江春水向东刘小姐 阅读(1356) 评论(0) 推荐(0) 编辑
摘要: 1、如下所示,订阅自己所需要的模板 2、订阅成功 阅读全文
posted @ 2023-02-17 11:31 一江春水向东刘小姐 阅读(64) 评论(0) 推荐(0) 编辑
摘要: 1、打开微信公众平台,登录小程序后台配置界面,开发管理>消息推送(开启)>配置(注意:这里我使用的是https,明文传输,JSON格式,如果是http,建议使用加密或者兼容模式,那么在这个url接口代码中,获取的参数要进行解密)2、后台代码 // 认证微信小程序发送消息的Token router.g 阅读全文
posted @ 2023-02-17 11:22 一江春水向东刘小姐 阅读(294) 评论(0) 推荐(0) 编辑
摘要: 1、安装 2、使用 // 通过crypto.createHash()函数,,创建一个hash实例,但是需要调用md5,sha1,sha256,sha512算法来实现实例的创建。crypto.createHash();//创建hash实例 let sha1 = crypto.createHash('s 阅读全文
posted @ 2022-11-16 10:12 一江春水向东刘小姐 阅读(101) 评论(0) 推荐(0) 编辑