摘要: 安装 w2 install whistle.vase 使用 启动whistle,进入127.0.0.1:8899/#plugins 点击vase,进入vase页面 创建对应模版引擎的文件 不同的模版引擎用法参考:https://github.com/whistle-plugins/whistle.v 阅读全文
posted @ 2024-03-27 17:26 隮 阅读(105) 评论(0) 推荐(0) 编辑
摘要: useContext和useReducer的联合用法(实现多组件多状态管理) useReducer useReducer(reducer, initialArg, init?) 参数 reducer:(state:S, action:A)=>newState:S;用于更新 state 的纯函数。参数 阅读全文
posted @ 2024-03-15 17:35 隮 阅读(58) 评论(0) 推荐(0) 编辑
摘要: vscode 常用插件 博客园 cnblogs 客户端 auto close tag (html自动闭合标签) auto rename tag auto-header (自动添加头部注释) aws toolkit (可提供简单的代码提示) Azure Repos (可以在vscode中打开远程仓库, 阅读全文
posted @ 2024-03-13 11:46 隮 阅读(106) 评论(0) 推荐(0) 编辑
摘要: 一、安装包和环境准备 1.所需安装包 将mysql-8.0.29-linux-glibc2.12-x86_64.tar.xz安装包上传至服务器 2.解压和创建用户 执行命令 tar -xzvf mysql-8.0.29-linux-glibc2.12-x86_64.tar.xz,重命名文件夹为mys 阅读全文
posted @ 2022-10-17 11:24 隮 阅读(1009) 评论(0) 推荐(0) 编辑
摘要: 1.jdk安装包下载 官网 https://www.oracle.com/cn/java/technologies/downloads/#java8 2.解压 tar -zxvf jdk1.8.0_341.tar.gz mv jdk1.8.0_341 /usr/local/env/ 3.添加环境变量 阅读全文
posted @ 2022-10-12 18:02 隮 阅读(28) 评论(0) 推荐(0) 编辑
摘要: 1.下载redis安装包 redis官网 http://redis.io 2.安装 gcc-c++ 环境 yum install gcc-c++ yum -y install centos-release-scl yum -y install devtoolset-9-gcc devtoolset- 阅读全文
posted @ 2022-10-11 16:56 隮 阅读(26) 评论(0) 推荐(0) 编辑
摘要: 在使用jQuery时加入 jQuery.ajaxSettings.traditional = true; 阅读全文
posted @ 2021-07-12 17:28 隮 阅读(62) 评论(0) 推荐(0) 编辑
摘要: 导入依赖 <dependencies> <dependency> <groupId>org.springframework</groupId> <artifactId>spring-webmvc</artifactId> <version>5.1.9.RELEASE</version> </depe 阅读全文
posted @ 2021-03-27 13:43 隮 阅读(37) 评论(0) 推荐(0) 编辑
摘要: 2个解决方法: 1.临时修改 set global max_allowed_packet=524288000;#修改 512M 2.修改my.cnf,需重启mysql。 在 [MySQLd] 部分添加一句(如果存在,调整其值就可以): max_allowed_packet=10M 阅读全文
posted @ 2021-03-15 19:32 隮 阅读(28) 评论(0) 推荐(0) 编辑
摘要: web.xml <?xml version="1.0" encoding="UTF-8"?> <web-app xmlns="http://xmlns.jcp.org/xml/ns/javaee" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instanc 阅读全文
posted @ 2021-03-10 20:42 隮 阅读(29) 评论(0) 推荐(0) 编辑
点击右上角即可分享
微信分享提示