摘要: 问题原因:本地项目使用的是maven 3.6.0 ,java-jd是1.8。打包上传的时候因为maven默认的java-jdk是jdk12,所以报错。 查看maven的版本信息 mvn -v 查看mvn的jdk版本是不是和你本地项目一样: Java version: 1.8.0_181, vendo 阅读全文
posted @ 2021-03-15 18:06 QingYuanO 阅读(265) 评论(0) 推荐(0)
摘要: 一、图片上传 //上传图片的库 import * as ImagePicker from 'expo-image-picker' ... //此处利用ActionSheet控件把上传图片分为从相册选择和拍照两种 const pickImage = async () => { ActionSheet. 阅读全文
posted @ 2021-01-16 12:46 QingYuanO 阅读(1057) 评论(0) 推荐(0)
摘要: React Navigation的基本使用(一) 1、下载依赖 //核心构建模块 yarn add @react-navigation/native //堆栈导航器 yarn add @react-navigation/stack //依赖的库 yarn add react-native-gestu 阅读全文
posted @ 2021-01-11 21:46 QingYuanO 阅读(1298) 评论(0) 推荐(0)
摘要: 第三方平台转发小程序微信客服消息 @Service @EnableConfigurationProperties({WechatOpenProperties.class}) public class WxOpenService extends WxOpenServiceImpl { private 阅读全文
posted @ 2021-01-08 10:49 QingYuanO 阅读(870) 评论(0) 推荐(0)
摘要: React的ref使用 1、基本使用 class MyComponent extends React.Component { constructor(props) { super(props); this.myRef = React.createRef(); } render() { return 阅读全文
posted @ 2020-08-30 15:54 QingYuanO 阅读(320) 评论(0) 推荐(0)
摘要: react-router-config 介绍 是一个辅助react-router的插件,主要是使用配置文件集中式管理路由。 import React from 'react' import { Redirect } from 'react-router-dom' import Home from ' 阅读全文
posted @ 2020-08-24 22:47 QingYuanO 阅读(10308) 评论(0) 推荐(0)