logo
publist
写文章

简介

该用户还未填写简介

擅长的技术栈

可提供的服务

暂无可提供的服务

react router native:link点击不跳转

rn嵌入原生,出现点击TouchableOpacity组件内容没反应、不跳转的情况// App.jsconst history = createMemoryHistory()<Router history={ history }><Switch><Route path="/" component={ Home }/>...

ReactNative项目报错:undefined is not an object (evaluating 'navigator.userAgent.match')解决办法

错误RN项目启动时报错:undefined is not an object (evaluating 'navigator.userAgent.match')原因userAgent中文名为用户代理,是服务器能够识别客户使用的操作系统及版本。各浏览器自带userAgent,但RN生成的项目本质上仍然是APP,不具备这个字符串头。所以用真机/模拟器运行的项目会因为找不到userAg...

ReactNative项目报错:undefined is not an object (evaluating 'navigator.userAgent.match')解决办法

错误RN项目启动时报错:undefined is not an object (evaluating 'navigator.userAgent.match')原因userAgent中文名为用户代理,是服务器能够识别客户使用的操作系统及版本。各浏览器自带userAgent,但RN生成的项目本质上仍然是APP,不具备这个字符串头。所以用真机/模拟器运行的项目会因为找不到userAg...

mpvue+微信小程序底部导航Tabbar不显示bug

原生微信小程序中,tabbar在app.json文件中配置,详见开发文档https://developers.weixin.qq.com/miniprogram/dev/framework/config.html对应mpvue,有两种设置方式:一、在main.js中设置    需注意:Eslint检查要求string类型为单引号(json文件要求双引号)pages字段注册页...

angularjs如何替换插值字符串{{..}}

今天在看k8s的dashboard源码时,被一种表达式弄傻了。分分钟被教做人在百度的时候,发现我都不知道{{...}}叫什么、在哪里定义的T_T1.人家叫"插值表达式"2.如果想用其他符号如[[...]]替换{{...}},需要用到$interpolate3.[[Message|Description]]语法是Google Closure Compiler的goog.getMs...

到底了