wxiao个人技术分享 wxiao的技术分享

👦xiao

 关于Vue脚手架部署后访问时是空白
遇到这个问题,可以看看我们Vue脚手架里面的vue.config.js文件,配置如下加上之后,再重新打包部署访问即可
博主
xiao
1年前
 用datagrip导出数据库
1.右键我们的数据库打开界面2.有选择的界面,然后选择,第一个路径是找到我们的运行文件,第二个是我们的导出路径3.最后就出现在桌面了
博主
xiao
1年前
简单的测试实例1.导入依赖<!-- shiro --> <dependency> <groupId>org.apache.shiro</groupId> <artifactId>shiro-core</artifactId> <version>1.4.1</version> </dependency>2.在resources下创建shiro.ini文件[users] // 用户=密码,角色 zhangsan=123456,seller lisi=123123,ck
博主
xiao
1年前
简单的测试实例1.导入依赖<!-- shiro --> <dependency> <groupId>org.apache.shiro</groupId> <artifactId>shiro-core</artifactId> <version>1.4.1</version> </dependency>2.在resources下创建shiro.ini文件[users] // 用户=密码,角色 zhangsan=123456,seller lisi=123123,ck
 javaWeb脚本改了页面没有反应
这是因为脚本的路径有问题,导致图标不显示,当我更改了脚本的路径,但没有反应最后发现是使用的页面缓存的内容,我的方法是强制刷新页面,在页面按下Ctrl + F5就可以了
博主
xiao
1年前
zxing使用1.先导入依赖<dependency> <groupId>com.google.zxing</groupId> <artifactId>core</artifactId> <version>3.3.0</version> </dependency> <dependency> <groupId>com.google.zxing</groupId> <artifactId>javase</arti
博主
xiao
1年前
zxing使用1.先导入依赖<dependency> <groupId>com.google.zxing</groupId> <artifactId>core</artifactId> <version>3.3.0</version> </dependency> <dependency> <groupId>com.google.zxing</groupId> <artifactId>javase</arti
 1:1 error Component name "Header" should always be multi-word vue/multi-word
在启动vue项目时 出现错误:1:1 error Component name "Header" should always be multi-word vue/multi-word原因是:语法检查的时候把不规范的代码(即命名不规范)当成了错误解决方法:在 vue.config.js文件中添加配置:lintOnSave: false
博主
xiao
1年前
 ExceptionInInitializerError异常
JVM会将所有的静态变量的初始化按它们在源文件中的出现顺序放到一个静态初始化块中。因此,不要觉得没有看到静态初始块就认为不会出现这个异常。事实上,需要确保静态变量的正确顺序,比如说,如果一个变量初始化的时候用到了另一个变量,你得确保这个变量在前面已经初始化过了,今天遇到的问题就是上面的变量初始化为空,导致的错误
博主
xiao
1年前
1.连接查询-内连接内连接查询的是两张表交集的部分隐式内连接语法: SELECT 字段列表 FROM 表1,表2 WHERE 条件 ...; select patient.patientName,prescription.checkResult from patient,prescription where patient.patientid = prescription.patientID; select a.patientName,b.checkResult from patient a,prescription b where a.patientid = b.patientI
博主
xiao
1年前
1.连接查询-内连接内连接查询的是两张表交集的部分隐式内连接语法: SELECT 字段列表 FROM 表1,表2 WHERE 条件 ...; select patient.patientName,prescription.checkResult from patient,prescription where patient.patientid = prescription.patientID; select a.patientName,b.checkResult from patient a,prescription b where a.patientid = b.patientI