axios获取后端代码传来的cookie vue配置中加入 axios.defaults.withCredentials = true; //让ajax携带cookie 但是在请求访问的时候又会报错 所以后端设置一个过滤器 @Component public class CorsFilter imp ...
分类:
移动平台 时间:
2020-03-21 02:37:20
收藏:
0 评论:
0 赞:
0 阅读:
415
今天在做页面跳转传值的时候,一直出现下面的报错: 后来查看了下文档,说如果你的JSON数据是在上一个页面传值过来的话, 这时候在接收数据页解析JSON也会报该错误,因为此时并没有相关的JSON数据从上一个页面传递过来 可以通过判断是否为null来解决这个问题: if (JsonData != nul ...
分类:
移动平台 时间:
2020-07-15 14:15:38
收藏:
0 评论:
0 赞:
0 阅读:
323
mybatis框架经常会用到查询单表或者单表的修改: 此时com.baomidou.mybatisplus.core下的QueryWrapper/UpdateWrapper使用就很方便。 具体用法: 1.注入的mapper extends BaseMapper<表实体> 2.创建QueryWrapp ...
分类:
移动平台 时间:
2020-05-13 09:27:34
收藏:
0 评论:
0 赞:
0 阅读:
500
之前一直都是这么写的 pageViewModel = ViewModelProviders.of(this).get(PageViewModel.class); //参数this是当前fragment 后来发现,这么写,问题很大== 当我们使用ViewPager(或ViewPager2)时,在Fra ...
分类:
移动平台 时间:
2019-11-23 15:44:11
收藏:
0 评论:
0 赞:
0 阅读:
905
报错见下图 解决办法:在目录flask_tutorial\flask下新建文件.flaskenv,见下图 注意:.flaskenv路径不要放错了,否则会报错 ...
分类:
移动平台 时间:
2019-05-27 19:30:09
收藏:
0 评论:
0 赞:
0 阅读:
2032
getBeansWithAnnotation Map<String,Object> getBeansWithAnnotation(Class<? extends Annotation> annotationType) throws BeansException Find all beans whos ...
分类:
移动平台 时间:
2018-12-05 17:00:23
收藏:
0 评论:
0 赞:
0 阅读:
1829
XCode + IOS + Flutter真机调试 报错: Could not build the precompiled application for the device. It appears that your application still contains the default ...
分类:
移动平台 时间:
2020-01-28 00:43:27
收藏:
0 评论:
0 赞:
0 阅读:
904
1.项目在编译的时候application.properties都没有在target文件夹下面,原因是不小心在子module里面又加了一个module,虽然remove,delete,但是modules标签与还在pom还在 这种情况下添加module就会在module中添加module 正确的方式是 ...
分类:
移动平台 时间:
2020-02-27 19:55:24
收藏:
0 评论:
0 赞:
0 阅读:
1060
最近顶了几天前端,记录下知识点, 开发工具是hbuilderX,业务是根据app运行的设备信息来判断这个设备是否是已知设备库的设备,既此设备运行这个项目是否合法 思路就是项目启动时获取设备mac地址,IP地址,去设备库查询,如果没有就退出app, 第一步,uniapp获取设备mac地址 //获取ma ...
分类:
移动平台 时间:
2020-05-21 18:53:40
收藏:
0 评论:
0 赞:
0 阅读:
747
错误提示 Access to XMLHttpRequest at` manifest.json文件修改 "h5": { "devServer": { "port": 8000, "disableHostCheck": true, "proxy": { "/XXX": { "target": "htt ...
分类:
移动平台 时间:
2020-07-08 18:53:13
收藏:
0 评论:
0 赞:
0 阅读:
872
最近在做一个截图功能,发现uni-app分享自定义图片还是有点问题 APP端的分享和微信小程序分享还是有点不同的,这里APP测试用的是安卓手机 下面列举下我遇到的问题 1.draw函数的回调不执行 一般都是ctx.draw(false,()=>{})的方式执行,但是打印半天都不进入,发现是回调函数的 ...
分类:
移动平台 时间:
2020-11-26 22:25:55
收藏:
0 评论:
0 赞:
0 阅读:
257
ant-design-vue 之form表单中label-col和wrapper-col使用 主要代码: :label-col="{ span: 5 }" :wrapper-col="{ span: 15 }" demo: <template> <div> <a-form :form="form" ...
分类:
移动平台 时间:
2020-08-04 16:59:10
收藏:
0 评论:
0 赞:
0 阅读:
1054
{ "dependencies": { "vue": "^2.5.10", "vue-i18n": "^7.8.0" }, "devDependencies": { "@vue/cli-service": "^3.0.1", "compression-webpack-plugin": "^3.1.0 ...
分类:
移动平台 时间:
2020-04-12 10:15:28
收藏:
0 评论:
0 赞:
0 阅读:
551
wrapper.apply(crmSupInfoDTO.getCooperative() != null,"FIND_IN_SET ("+crmSupInfoDTO.getCooperative()+",cooperative)"); 原文地址:https://www.cnblogs.com/xia ...
分类:
移动平台 时间:
2020-04-23 14:13:33
收藏:
0 评论:
0 赞:
0 阅读:
858
Error starting ApplicationContext. To display the conditions report re-run your application with 'debug' enabled.2019-01-19 12:01:39.870 ERROR 8324 [ ...
分类:
移动平台 时间:
2019-01-19 13:06:31
收藏:
0 评论:
0 赞:
0 阅读:
2079
在开发中,我们会遇到需求国际化,那么底部tabBar和导航标题navigationBarTitleText就要动态切换: 1.改变底部tabBar: 当动态切换时结果: ...
分类:
移动平台 时间:
2019-08-23 13:25:07
收藏:
0 评论:
0 赞:
4 阅读:
4235
[debug] [iOS] App is not installed. Will try to install. [MJSONWP] Encountered internal error running command: Error: Installing /var/folders/hb/5xtrk ...
分类:
移动平台 时间:
2016-10-13 18:54:17
收藏:
0 评论:
0 赞:
0 阅读:
1375
最近在搭spring项目框架的时候,遇到一个很伤的问题,翻了很多帖,都报告说什么少spring-context包啊之类的,但实际上spring的那些依赖我根本没漏,下面是我的pom: 项目在tomcat死活启动不了,搞了老半天,一直在几个配置文件和jar包上纠结,后来直接到发布路径下面去直接找到它, ...
分类:
移动平台 时间:
2017-01-18 10:37:43
收藏:
0 评论:
0 赞:
0 阅读:
746
核对一下控制器是不是写了相同的路径。。。org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'requestMappingHandlerMapping' defined in c... ...
分类:
移动平台 时间:
2018-08-23 21:47:41
收藏:
0 评论:
0 赞:
0 阅读:
6997
在django框架中用命令启动服务时报如下错误: RuntimeError: Model class index.models.User doesn't declare an explicit app_label and isn't in an application in INSTALLED_AP ...
分类:
移动平台 时间:
2018-10-20 10:54:37
收藏:
0 评论:
0 赞:
0 阅读:
1873