上一页 1 ··· 14 15 16 17 18 19 20 21 22 ··· 37 下一页
摘要: 编译不了的意思是小程序代码没有转换成wxml内容。 前言:uni小程序转wepy小程序,在编译的时候显示的是空的初始页面(带一行代码),如: <!--page/Index/detail.wxml--> <text>page/Index/detail.wxml</text> 在路径正确,样式正确,脚本 阅读全文
posted @ 2023-03-13 10:13 叶乘风 阅读(106) 评论(0) 推荐(0) 编辑
摘要: // 匹配手机号// var res = /^[1][3,4,5,6.7,8,9][0-9]{9}$/// let num = 18045216903// console.log(res.test(num)) // 匹配身份证号码// var res = /(^\d{15}$)|(^\d{18}$) 阅读全文
posted @ 2023-03-09 16:58 叶乘风 阅读(1647) 评论(0) 推荐(0) 编辑
摘要: 子块: width: 'calc(25% - 4px)', margin: '2px', 父块: backgroundColor: '#f2f2f2', border: '2px solid #f2f2f2', // 这是重点 阅读全文
posted @ 2023-03-09 11:51 叶乘风 阅读(9) 评论(0) 推荐(0) 编辑
摘要: 原因:不详,猜测是antd的bug。 解决方案:onSubmit绑定的事件中添加一行代码: e.preventDefault() 这玩意儿使用来组织默认操作的,注意这个e要传过去。 阅读全文
posted @ 2023-03-08 16:25 叶乘风 阅读(50) 评论(0) 推荐(0) 编辑
摘要: `defaultValue` is invalid for `getFieldDecorator` will set `value`, please use `option.initialValue` instead. `defaultValue`对于`getFieldDecorator`无效。如果 阅读全文
posted @ 2023-03-07 11:12 叶乘风 阅读(478) 评论(0) 推荐(0) 编辑
摘要: 恩。。其实也没啥要记录的,记住关键一点就是必须要有return,不管是几重,比如: arr.map((item, index) => { return ( item.arr2.map((item2, index2) => { return ( console.log(item2) ) }) ) }) 阅读全文
posted @ 2023-03-03 16:19 叶乘风 阅读(636) 评论(0) 推荐(0) 编辑
摘要: Form.Item添加属性colon={false} 阅读全文
posted @ 2023-03-03 15:52 叶乘风 阅读(225) 评论(0) 推荐(0) 编辑
摘要: 问题描述:rn项目使用到了一个插件react-native-image-crop-picker,运行后报错。 原因:安装该插件的时候没有link到android包里。 解决方案: react-native link react-native-image-crop-picker link后请把原来的a 阅读全文
posted @ 2023-03-02 11:42 叶乘风 阅读(49) 评论(0) 推荐(0) 编辑
摘要: 前言:react-native项目(下称rn)中需要用到图片裁剪、从相册取照片以及调用手机相机,主要用到这个插件react-native-image-crop-picker。 安装: yarn add react-native-image-crop-picker 插件地址:https://githu 阅读全文
posted @ 2023-03-02 11:38 叶乘风 阅读(190) 评论(0) 推荐(0) 编辑
摘要: 国内版: 在线免费web版: https://chat.forchange.cn/(不用登录) https://app.writesonic.com/login(要登录) 在线免费微信版:AI对话未来(这个不知道怎么分享,因为它用起来就相当于一个微信好友跟你聊天一样,要加微信才能聊天,不过奇怪的是这 阅读全文
posted @ 2023-03-02 10:51 叶乘风 阅读(649) 评论(0) 推荐(0) 编辑
摘要: 我的react-native(下称rn)版本为0.68,要实现这个功能主要用到rn的clipboard,在21年的时候他就已经提示clipboard会在未来的版本中上去掉,官方的建议是不要再从react-native引入,而实替换为@react-native-community/clipboard, 阅读全文
posted @ 2023-03-01 17:57 叶乘风 阅读(397) 评论(0) 推荐(0) 编辑
摘要: 问题描述:rn项目使用钩子useState,详细报错如下: Error: Invalid hook call. Hooks can only be called inside of the body of a function component. This could happen for one 阅读全文
posted @ 2023-03-01 16:26 叶乘风 阅读(662) 评论(0) 推荐(0) 编辑
摘要: 问题描述:想要初始化一个新的rn项目,执行【react-native init myApp --version 0.68.2】,报错:'react-natvie' 不是内部或外部命令,也不是可运行的程序 原因:没有全局安装react-native的脚手架。 注意:如果你已经全局安装了,并且在npm文 阅读全文
posted @ 2023-03-01 13:32 叶乘风 阅读(264) 评论(0) 推荐(0) 编辑
摘要: 问题描述:拉取thinkphp5项目来运行,按照官网的提示都拉取完仓库后,在浏览器访问localhost/tp5/public报错: Warning: require(C:\wamp\www\tp5\public../thinkphp/base.php): failed to open stream 阅读全文
posted @ 2023-03-01 11:12 叶乘风 阅读(255) 评论(0) 推荐(0) 编辑
摘要: 问题描述:在thinkphp官网拉取tp5项目文件时报错: fatal: unable to access 'https://github.com/top-think/think/': OpenSSL SSL_read: Connection was reset, errno 10054 致命:无法 阅读全文
posted @ 2023-03-01 10:57 叶乘风 阅读(70) 评论(0) 推荐(0) 编辑
摘要: 2023-02-28 Unknown custom element: &lt;uni-view&gt; - did you register the component correctly? For recursive components, make sure to provide the &quot;name&quot; option. 问题描述:vue h5业务,之前是由wepy转成uniapp,报错内容为: Unknown custom element: <uni-view> - did you register the component correctly? For recursive components, make su 阅读全文
posted @ 2023-02-28 16:11 叶乘风 阅读(930) 评论(0) 推荐(1) 编辑
摘要: 2023-02-13 Set `&quot;volar.inlayHints.eventArgumentInInlineHandlers&quot;: false` to hide Event Argument in Inline Handlers. Set `"volar.inlayHints.eventArgumentInInlineHandlers": false` to hide Event Argument in Inline Handlers. 设置`“volar.inlayHints.eventArgumentInInlineHan 阅读全文
posted @ 2023-02-27 16:52 叶乘风 阅读(1376) 评论(0) 推荐(0) 编辑
摘要: 2023-02-23 {&quot;errMsg&quot;: &quot;getImageInfo:fail download image fail. reason: downloadFile:fail url not in domain list&quot;} 描述:微信小程序绘制图片业务,开发工具测试,真机测试,体验版测试均没问题,正式上线后报错:downloadFile:失败url不在域列表中 报错原因:接口路径没有写在downloadFile合法域名里面,所以微信不允许你加载这个接口,你拿不到图片,就导致绘制失败。 解决方案:打开微信小程序后台管理页 阅读全文
posted @ 2023-02-23 16:03 叶乘风 阅读(388) 评论(0) 推荐(0) 编辑
摘要: 新建android项目,选择basic active一项,在跑模拟器的时候,报错。 解决方案:找到AndroidManifest.xml文件,在<activity 里面添加一行属性 android:exported="true" 详情Gpt给出的解决方案: This error message in 阅读全文
posted @ 2023-02-14 10:29 叶乘风 阅读(676) 评论(0) 推荐(0) 编辑
摘要: as打包apk到android上运行显示如下报错: Unable to load script.Make sure you‘re either running a metro server( run ‘react-native start‘ ) or that your bundle ‘index. 阅读全文
posted @ 2023-02-13 17:18 叶乘风 阅读(347) 评论(0) 推荐(0) 编辑
上一页 1 ··· 14 15 16 17 18 19 20 21 22 ··· 37 下一页