
技术问题总结
huanglaoxie1986
这个作者很懒,什么都没留下…
展开
-
vue的css引入
vue引用css单文件1:<script> require(['@/assets/css/comm.css', '@/assets/css/fcq.css']); </script> 2:<style scoped>@import "http://static.test.soufunimg.com/common_m/m_nodejs/css/fcq/comm.css";@import "http://static.test.soufunimg.com原创 2021-06-11 14:48:18 · 248 阅读 · 0 评论 -
iframe跨端口报错 :Blocked a frame with origin
iframe跨端口报错 简单解决方法报错信息Uncaught DOMException: Blocked a frame with origin “https://www.XXX.com” from accessing a cross-origin frame. at https://www.XXXX.com/XXX/XXX.do?1=1代码{ <script type="text/javascript"> document.domain = 'cunfang.co原创 2020-10-30 09:08:37 · 3675 阅读 · 0 评论 -
M站下拉框异步加载后不能滑动的问题
M站下拉框异步加载后不能滑动的问题问题:初期打开的时候可以滑动,异步重新设置下拉框后,下拉框不能滑动。引用js:iscroll-lite.js异步加载后,重新设置下拉框之前, scrollCtrl.scrollObj = {};重置空间为空,它会重新初期化下拉框。...原创 2020-02-26 16:19:58 · 268 阅读 · 0 评论 -
springboot动态SQL报错 Could not find value method on SQL annotation. 元素内容必须由格式正确的字符数据或标记组成。
Could not find value method on SQL annotation.动态SQL: @Select(" <script> SELECT COUNT(ID) CNT FROM [AAA] WITH (NOLOCK) WHERE [UserID]>#{userId} </script>")编译就报错"time": "2020-01-1...原创 2020-01-14 09:18:35 · 2128 阅读 · 0 评论 -
WebSocket链接报错{"errMsg":"未能完成操作。(“OSStatus”错误 -9801。)
解决方法:1:检测URL是否支持TLS1.2https://cloud.tencent.com/product/tools#userDefined12 用这个检测url在输入socket 的域名,点击立即检测,结果如下,不支持TLS1.22:升级服务器的配置https://cloud.tencent.com/document/product/400/6973根据里面的指南修改配置3...原创 2019-09-04 16:59:15 · 6734 阅读 · 0 评论 -
小程序点击事件catchtab点击无反应的,失效
1 代码home.wxml: <div class="trend"> <dd catchtap="gocfjSearchPage" > <div class="price"><i>47512</i>元/m²</div> </dd> </div...原创 2019-08-02 09:01:37 · 2773 阅读 · 0 评论 -
SQL报错:在从服务器接收结果时发生传输级错误
SQ报错:[SqlException (0x80131904): 在从服务器接收结果时发生传输级错误。原因:SqlDataReader没有CloseSqlException (0x80131904): 在从服务器接收结果时发生传输级错误。 (provider: TCP Provider, error: 0 - 句柄无效。)] lambda_method(Closure , Control...原创 2019-03-18 11:24:37 · 8043 阅读 · 0 评论 -
egg的Cookies,取不到值的问题
1 cookies取值有时,从this.cookies.get(‘AAA’)设置了AAA的值,但是取出来的是空的。增加设置下面的两个属性,就可以了。httpOnly和secure的设置要一致。this.cookies.get(‘AAA’, { httpOnly: false, signed: false });this.cookies.set(‘AAA’, cityShort, {htt...原创 2019-01-25 19:03:09 · 3409 阅读 · 0 评论 -
SpringBoot:redis存储object报错:Cannot serialize 不能序列化的错
报错信息:org.springframework.data.redis.serializer.SerializationException: Cannot serialize; nested exception is org.springframework.core.serializer.support.SerializationFailedException: Failed to serial...原创 2018-12-20 10:23:07 · 21772 阅读 · 4 评论 -
SpringBoot报错:No converter found for return value of type: class
报错原因:Entity类的get,set方法名首字母写错的,写成大写了,应该是小写。最好是它自动生成get,set方法。自动生成get,set方法:快捷键Ctrl+ N 或是右键鼠标找到,Getter和Setter报错:No converter found for return value of type: classhis application has no explicit map...原创 2018-12-14 13:00:55 · 4913 阅读 · 0 评论 -
eggd:ctx.curl的乱码问题
eggd:ctx.curl的乱码问题解决原创 2018-12-07 10:28:01 · 2385 阅读 · 0 评论 -
egg:如何设置返回的数据格式是json,还是xml
设置返回的数据格式为xml用Content-Type设置‘text/html’:xml格式‘text/xml’ :xml格式3: ‘application/json’ :json代码如下:返回的结果是xml格式,一般默认是jsonpublic async suggestion() {const { ctx } = this;const resultXml = await ct...原创 2018-12-13 10:26:17 · 8903 阅读 · 0 评论 -
IDEA的Java版本修改
我的IDEA默认安装的时候是1.7的,想改成1.8的步骤1:先安装jdk1.8.配置环境变量 步骤2:在IDEA界面点击project strcuture,修改JDK home path为新安装的jdk1.8的路径...原创 2018-12-12 15:44:33 · 4294 阅读 · 0 评论