摘要: #一键申请SSL证书验证目录相关设置 location ~ \.well-known{ allow all; }设置你启动的node服务地址 location / { proxy_pass http://localhost:3030; } 阅读全文
posted @ 2023-05-25 18:08 李笑吅 阅读(106) 评论(0) 推荐(0) 编辑
摘要: 原因是没有正确的开启防火墙端口。查看防火墙是否在运行firewall-cmd --state查看都有哪些端口添加到例外firewall-cmd --permanent --list-port正确命令是:firewall-cmd --zone=public --add-port=8888/tcp -- 阅读全文
posted @ 2023-05-25 14:40 李笑吅 阅读(138) 评论(0) 推荐(0) 编辑
摘要: 微信小程序通过 wx.getLocation 获取所在的gps坐标 在通过百度线上转换代码转成文字版地址 百度控制台->应用管理->我的应用 https://api.map.baidu.com/reverse_geocoding/v3/?ak=你的keyG&output=json&coordtype 阅读全文
posted @ 2023-05-25 09:47 李笑吅 阅读(86) 评论(0) 推荐(0) 编辑
摘要: 01.Abstract Factory Abstract Factory创建由共同主题相关的对象。在面向对象编程中,工厂是创建其他对象的对象。抽象工厂抽象出新创建的对象共享的主题。 02.Builder Builder 模式允许客户端仅通过指定类型和内容来构建复杂对象,细节完全对客户隐藏。 03、F 阅读全文
posted @ 2023-05-16 16:40 李笑吅 阅读(1242) 评论(0) 推荐(0) 编辑
摘要: 一、基础用法 1.安装axios npm i axios 2.引入axios // 引入axios import axios from 'axios' 3使用 // 发起一个post请求 axios({ method: 'post', url: 'http://192.168.0.88:8888/a 阅读全文
posted @ 2023-05-05 11:27 李笑吅 阅读(2012) 评论(0) 推荐(0) 编辑
摘要: 1.安装 npm install @wangeditor/editor --save //安装 Vue2 组件(可选) npm install @wangeditor/editor-for-vue --save 2.引用 2.1 js部分 注册组件 import { Editor, Toolbar 阅读全文
posted @ 2023-05-05 11:26 李笑吅 阅读(99) 评论(0) 推荐(0) 编辑
摘要: 阅读全文
posted @ 2023-04-13 08:54 李笑吅 阅读(11) 评论(0) 推荐(0) 编辑
摘要: 1、MDNhttps://developer.mozilla.org/zh-CN/2、CodePenhttps://codepen.io/3、 GitHub https://github.com4、Stack Overflowhttps://stackoverflow.com/ 2023-03-30 阅读全文
posted @ 2023-04-11 06:39 李笑吅 阅读(22) 评论(0) 推荐(0) 编辑
摘要: // 重置alert window.alert = function(name){ const iframe = document.createElement("IFRAME"); iframe.style.display="none"; iframe.setAttribute("src", 'da 阅读全文
posted @ 2023-02-03 14:57 李笑吅 阅读(106) 评论(0) 推荐(0) 编辑
摘要: 1.npm create vite@latest 2.安装路由 npm install vue-router@4 3.安装axios npm i axios 4安装pinia npm install pinia 5安装sacc npm install sass-loader npm install 阅读全文
posted @ 2023-01-31 10:50 李笑吅 阅读(44) 评论(0) 推荐(0) 编辑