
简介
该用户还未填写简介
擅长的技术栈
可提供的服务
暂无可提供的服务
简要记录uni-app中使用websocket进行通信1. 初始化定义全局变量webSocketTask: {}onLoad()中使用uni.connectSocket建立websocket长链接this.webSocketTask = uni.connectSocket({url: common.wsUrl() + ':8082/websocket/' + this.userId,success
rebuild后可以正常运行,出现这个问题的原因很多,可能是网络问题 开了热点,远程库http不可用,gradle版本问题,曾一度以为的被墙的原因,这个代理配置容易被忽略。android studio 同步 Gradle Sync时异常,原因之一是因为gradle设置了代理导致无法访问资源库,打开C:\Users\xxxx\.gradle下的gradle.properties,注释掉代理相关配置,
已添加elementUI,先引入组件:import ElImageViewer from 'element-ui/packages/image/src/image-viewer.vue'添加展示大图的控件元素:<el-image-viewerv-if="showViewer":on-close="closeViewer":url-list="picLis
需求中有个页面是带导航的List列表,想来这么常见的需求定会有轮子可用,找了一通发现滴滴的开源库cube-ui实现了此功能,但在集成使用的过程中也遇到了一些问题,在此记录。错误信息:These relative modules were not found:./cubeic.ttf in ./node_modules/css-loader??ref–11-oneOf-3-1!./nod...
vue createmyproject:error default-gateway@5.0.5: The engine "node" is incompatible with this module. Expected version "^8.12.0 || >=9.7.0". Got "8.11.4"error Found incompatible module.引擎与该模块不...
在安装crosswalk之后build不成功,错误信息:Could not resolve all dependencies for configuration ':_armv7DebugApkCopy'. > Could not resolve..Failed to list versions for org.xwalk:xwalk_core_library.参考:http
登录页面输入帐号密码,通常会有hint提示,若有英文字符,设置了inputType="textPassword"的字体明显不同。解决方法:在控件初始化后,设置edittext的字体为常规即可:passwordEt.setTypeface(Typeface.DEFAULT);要注意,如果在代码中动态设置了edittext的InputType.TYPE_TEXT_VARIATION_PASSWORD
vue在request时错误信息如下,做此记录:Access to XMLHttpRequest at 'http://192.168.0.103:8080/user/userLogin' from origin 'http://localhost:8081' has been blocked by CORS policy: Response to preflight request does..
检查AndroidManifest中application节点是否有次配置android:hardwareAccelerated="false"
Manifest merger failed : Apps targeting Android 12 and higher are required to specify an explicit value for `android:exported` when the corresponding component has an intent filter defined.原因:如果应用以 An







