程序员小墨
程序员小墨

针对这个项目无法在网站非根目录下运行的问题,我大致上阅读了一遍你的项目代码,然后做出了相应改动,我在本地以及部署到服务器上测试过,均可以正常运行(不过对于部署在子目录的用户,可能需要更改一下项目.htaccess内的配置),你可以阅读一下这些改动,如果有问题的话可以留言,不过我不常上GitHub,如果想快速联系到我,可以给我发邮件(2291200076 at qq.com)感觉你这个项目还是挺实用的,希望能看到这个项目变得越来越好,继续加油! 以下是一些改动:
社区提问地址:https://community.jiguang.cn/question?q=&s=3 oppo 手机 React Native 集成推送后 App 启动崩溃 jpush-react-native中目前继集成的版本为jpush-android-5.2.0.jar 而官方提供的 jpush-android-5.2.4-release.zip 中只有最新的 aar: com.heytap.msp-push-3.4.0.aar 留意到其中有如下描述 ***注6***:oppo 推送包 v3.0.0 版本升级为 com.heytap.msp-push-3.0.0.aar,Jpush v4.6.0 开始支持 ***注6***:oppo 推送包 v3.1.0 版本升级为 com.heytap.msp-push-3.1.0.aar,Jpush v4.8.1 开始支持 ***注7***:oppo...
currently, compile in build.gradle is deprecated, we need to use `implementation` keywords to replace `compile`
lottie-react-native folder in node_modules path looks like: `node_modules/lottie-react-native/android/src/main/java/... ` instead of `node_modules/lottie-react-native`**/src**`/android/src/main/java/...`
秘钥→密钥
Summary: --------- When the newer ReactNative version comes out, we can see some info at console like this: ``` info React Native v0.74.1 is now available (your project is running...
中国是东八区,`toISOString()` 获取的是0时区时间。也就是说,在0点到8点,`toISOString().split('T')[0]` 取到的时间是前一天的日期。
修复 清除按钮不展示问题 及 点击清除图标时值已清除但界面仍显示的 bug DCloud社区相关提问:https://ask.dcloud.net.cn/question/195178 ------ 这个问题一共是由1个uni-ui的bug和一个uniapp的内部bug共同引起的 1. 内部组件的bug: 点清除icon其实值已经清除了,但是界面上显示值 (this.current) 忘了更新 解决方案:clearVal函数中清除 this.current ```javascript clearVal() { this.emit('') this.current = '' // 添加此行 if (this.collection) { this.removeCache() } }...