上一页 1 ··· 25 26 27 28 29 30 31 32 33 ··· 35 下一页
摘要: 1.设置规则 <Route path="/list/:id" component={List}/> {/* 1.规则 */} 2.传值(或在地址栏自己设置) <li><Link to="/list/123">列表</Link></li> 3.接收值 import React, { Component 阅读全文
posted @ 2022-06-13 03:12 SimoonJia 阅读(98) 评论(0) 推荐(0)
摘要: <Route path="/" exact component={Index}/> <Route path="/list/" component={List}/> /: 加exact 地址栏 /***匹配不到/对应的component 不加exact /***能匹配到 /list/: 加exact 阅读全文
posted @ 2022-06-13 02:19 SimoonJia 阅读(96) 评论(0) 推荐(0)
摘要: ’男‘ 数据类型为char “男” 数据类型为String 阅读全文
posted @ 2022-05-25 09:54 SimoonJia 阅读(5904) 评论(0) 推荐(0)
摘要: function Index(){ useEffect(()=>{ console.log('userEffect=>来了老弟') return ()=>{ //解绑副作用,但是只要状态变化,就会触发解绑 console.log('老弟走了啊?Index') } },[])//只有数组里的参数状态改 阅读全文
posted @ 2022-05-18 12:37 SimoonJia 阅读(727) 评论(0) 推荐(0)
摘要: #tomcat配置: server.port=8081 #servlet: server.servlet.context-path=/springboot 或server.servlet.context-path=/(前缀) #配置视图解析器 spring.mvc.view.prefix=/(前缀) 阅读全文
posted @ 2022-05-15 10:16 SimoonJia 阅读(70) 评论(0) 推荐(0)
摘要: @ConfigurationProperties 注解出现警告问题 pom.xml <!-- 解决使用@ConfigurationProperties 注解出现警告问题--> <dependency> <groupId>org.springframework.boot</groupId> <arti 阅读全文
posted @ 2022-05-14 16:42 SimoonJia 阅读(79) 评论(0) 推荐(0)
摘要: table.render自带的有table.reload 其余load,on等重载时可提前将这些渲染放入一个新建的空白方法中,然后就可以复用 阅读全文
posted @ 2022-04-24 19:18 SimoonJia 阅读(208) 评论(0) 推荐(0)
摘要: sql 语句有错 检查sql语句和 限制条件的顺序 按顺序书写 -- "mysql语句编写顺序" 1 select distinct * 2 from 表(或结果集) 3 where … 4 group by …having… 5 order by … 6 limit start,count -- 阅读全文
posted @ 2022-04-24 00:44 SimoonJia 阅读(542) 评论(0) 推荐(0)
摘要: (查看自己使用的哪个npm源) npm config get registry 安装arm(管理npm源) npm i nrm -g 查看npm源 nrm ls 切换npm源 nrm use taobao(镜像源) 其他正常使用 npm i (加载配置) 阅读全文
posted @ 2022-04-14 17:22 SimoonJia 阅读(246) 评论(0) 推荐(0)
摘要: 检查ajak语法,与标准做对比 阅读全文
posted @ 2022-04-09 17:22 SimoonJia 阅读(55) 评论(0) 推荐(0)
上一页 1 ··· 25 26 27 28 29 30 31 32 33 ··· 35 下一页