通过计算该对象身上有多少个子对象来判断该对象是否有子对象,但需要主意的是,gameObj本身也会被记录到Length之中,所以在判断gameObj对象是否有子对象时,应做如下书写(而不是写成==0);void Start () {if (GetComponentsInChildren<Transfo ...
分类:
编程语言 时间:
2020-06-24 15:41:50
阅读次数:
101
1、将Tomcat安装为service以方便管理,并配置开机自启动在/etc/init.d/目录下创建tomcat文件,并编辑 touch /etc/init.d/tomcat vim /etc/init.d/tomcat输入文件内容:(注意此处JAVA_HOME的路径,根据自己实际情况修改)#!/ ...
分类:
其他好文 时间:
2020-06-24 13:58:00
阅读次数:
47
关于 JJWT 的使用,可以参考之前的文章:JJWT 使用示例 一、鉴权过滤器 @Component public class JwtAuthenticationTokenFilter extends OncePerRequestFilter { @Override protected void d ...
分类:
编程语言 时间:
2020-06-24 13:56:00
阅读次数:
170
1. 通过官方提供的一个全局api Vue.extend( options ) import Vue from 'vue' export default (component, props) => { const conCtor = Vue.extend(component) const el = ...
分类:
其他好文 时间:
2020-06-24 13:47:32
阅读次数:
54
服务器415错误 ssm框架的controller jsp页面 问题:页面出现415错误 原因:请求和响应类型不一致 分析: 出现了415错误一般是请求和响应的contentType类型不一致,可以F12看到浏览器的accept和contentType是不一致的,很多博客上都写着直接ajax设置co ...
分类:
其他好文 时间:
2020-06-24 13:45:26
阅读次数:
58
新一代的微服务架构 Service Mesh 博客原文地址 (https://elfgzp.cn/2020/06/21/新一代的微服务架构 Service Mesh 由于最近在工作中在做 Service Mesh 的落地项目,有非常多的感触,所以想写一篇文章来分享这个「新一代的微服务架构 Servi ...
分类:
其他好文 时间:
2020-06-24 12:23:55
阅读次数:
70
1.John Deere Service Advisor License 2.John Deere Service Advisor Keygen Cracked John Deere Service Advisor License John deere payload encryptor-decry ...
分类:
其他好文 时间:
2020-06-24 12:14:20
阅读次数:
61
1.John Deere Service Advisor License 2.John Deere Service Advisor Keygen Cracked John Deere Service Advisor License John deere payload encryptor-decry ...
分类:
其他好文 时间:
2020-06-24 12:01:53
阅读次数:
70
Spring中存在很多注解组合的情况,例如**@RestController** @Target(ElementType.TYPE) @Retention(RetentionPolicy.RUNTIME) @Documented @Controller @ResponseBody public @i ...
分类:
编程语言 时间:
2020-06-24 00:48:07
阅读次数:
78
/bin/目录下下 sh zkCli.sh 进入客户端目录下: 查看根目录 [zk: localhost:2181(CONNECTED) 11] ls /[cluster, controller, brokers, zookeeper, admin, isr_change_notification, ...
分类:
其他好文 时间:
2020-06-24 00:40:09
阅读次数:
206